From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 868EFC433E0 for ; Thu, 18 Feb 2021 20:30:17 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C505864EB2 for ; Thu, 18 Feb 2021 20:30:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C505864EB2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4153D60670 for ; Thu, 18 Feb 2021 20:30:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dpEgNmcDARFd for ; Thu, 18 Feb 2021 20:30:15 +0000 (UTC) Received: by smtp3.osuosl.org (Postfix, from userid 1001) id 7A87360684; Thu, 18 Feb 2021 20:30:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 7264160661; Thu, 18 Feb 2021 20:30:11 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2CD1B1BF381 for ; Thu, 18 Feb 2021 20:30:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 26AED86BE9 for ; Thu, 18 Feb 2021 20:30:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GnbrpwHCavZ5 for ; Thu, 18 Feb 2021 20:30:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id A8BA08630A for ; Thu, 18 Feb 2021 20:30:08 +0000 (UTC) Received: by mail-lj1-f176.google.com with SMTP id j6so8088352ljo.5 for ; Thu, 18 Feb 2021 12:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ox1btvjGk59rM0iFdC1MHmi/BBw9yMa71c5TOfzav7s=; b=oI7R0pzgj9KCnSqzCOvslhBEo0GGB5hHCweLk5DtPp5Cj5n4hPHS1HJfhcdN+iL7Fl AHOAs3kJSozfHSUF8+a0vhU0YfMMPhATR0zGI45IgTMsPU8trzzZytlOH/15f0mKeVAd kx4VntGnpixMMcikvIb95fLwsxqUKRUP8JOE9QkVh2XxSR1lXNUxKmwxtJrVz93VyD3I 02jpKH1SQqCrVZokIFl/efxaF4jV6ZCRFQS5L9qiZ3kC4LKCz1p3veA/evu0/yLCx8ZP 3qY65bQSxrmlP3Hq9m2v4s7ECBOvVNm49ANlCxpGNy8txmwVPpTrqWQFjkbalubmXx1a Xfkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ox1btvjGk59rM0iFdC1MHmi/BBw9yMa71c5TOfzav7s=; b=e5RrP6x3KfD3CkMF/aiEBHhvh1QPftlF1T+bSaeEiFQlNBSNYldSLOTGRD5ezBpAlD 9fTbCCiNHyR1nL92jnhrOP/xtCYn/V0VRl+UvKB63EmKk/6taRnk6KUXqeGzBgemJNts gJYeuavs0hVy2opx5WYbwR2FV8ySlzPs4tRkWN8C/ebbOTvUTt0vfyqp2yaXvWPRxhd/ Sicz/aHwVK0qSWAAoxayJiEH5OZ5ug92UsPMT0RW+v1MSeTuEp4QtAC+IP8LmAW8Rafv fVghhyu3LXNUL2uKDZo7RH8JwE6NBhGy232QuNkzPg8XPoMY9W7ZiBwK09mrnkJgT6uu aVnQ== X-Gm-Message-State: AOAM530cStUSAl7En+Rc4842JMS5S60s0nHx8C8YcrHocfc3YOXd53wf xg2wiWQpKzqn+QSNVMq7rwg= X-Google-Smtp-Source: ABdhPJzJ65gblNIDFUbiJW63dtKAk5r9xjH4j6dImNsNDmQG2MIhoK/hvx+e0l6i06MGcKKuqxO+1Q== X-Received: by 2002:a19:f118:: with SMTP id p24mr1623511lfh.4.1613680206841; Thu, 18 Feb 2021 12:30:06 -0800 (PST) Received: from msi.localdomain (vmpool.ut.mephi.ru. [85.143.112.90]) by smtp.gmail.com with ESMTPSA id s9sm702289lfr.231.2021.02.18.12.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 12:30:06 -0800 (PST) From: Nikolay Kyx To: gregkh@linuxfoundation.org, sergiu.cuciurean@analog.com Subject: [PATCH] staging: kpc2000: code style: fix alignment issues Date: Thu, 18 Feb 2021 23:28:14 +0300 Message-Id: <20210218202814.14204-1-knv418@gmail.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Nikolay Kyx , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" kpc2000_i2c.c: fix WARNING: line length of 124 exceeds 100 columns fix CHECK: Alignment should match open parenthesis kpc2000_spi.c: fix CHECK: Alignment should match open parenthesis Signed-off-by: Nikolay Kyx --- drivers/staging/kpc2000/kpc2000_i2c.c | 6 ++++-- drivers/staging/kpc2000/kpc2000_spi.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c index 25bb5c97dd21..14f7940fa4fb 100644 --- a/drivers/staging/kpc2000/kpc2000_i2c.c +++ b/drivers/staging/kpc2000/kpc2000_i2c.c @@ -200,7 +200,9 @@ static int i801_check_post(struct kpc_i2c *priv, int status, int timeout) outb_p(status & STATUS_FLAGS, SMBHSTSTS(priv)); status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; if (status) - dev_warn(&priv->adapter.dev, "Failed clearing status flags at end of transaction (%02x)\n", status); + dev_warn(&priv->adapter.dev, + "Failed clearing status flags at end of transaction (%02x)\n", + status); } return result; @@ -269,7 +271,7 @@ static int i801_block_transaction_by_block(struct kpc_i2c *priv, } status = i801_transaction(priv, - I801_BLOCK_DATA | ENABLE_INT9 | I801_PEC_EN * hwpec); + I801_BLOCK_DATA | ENABLE_INT9 | I801_PEC_EN * hwpec); if (status) return status; diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 44017d523da5..16ca18b8aa15 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -465,7 +465,7 @@ kp_spi_probe(struct platform_device *pldev) } kpspi->base = devm_ioremap(&pldev->dev, r->start, - resource_size(r)); + resource_size(r)); status = spi_register_master(master); if (status < 0) { -- 2.30.1 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel