linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolay Kyx <knv418@gmail.com>
To: gregkh@linuxfoundation.org, sergiu.cuciurean@analog.com
Cc: Nikolay Kyx <knv418@gmail.com>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 02/02] staging: kpc2000: code style: fix alignment issues
Date: Fri, 19 Feb 2021 19:34:20 +0300	[thread overview]
Message-ID: <20210219163420.24930-1-knv418@gmail.com> (raw)
In-Reply-To: <YC92OIgh6HTEexu4@kroah.com>

This patch fixes the following checkpatch.pl warning:

WARNING: line length of 124 exceeds 100 columns

in file kpc2000_i2c.c

Signed-off-by: Nikolay Kyx <knv418@gmail.com>
---

Additionally some style warnings remain valid here and could be fixed by
another patch.

v2: Edited changelog, as suggested by Greg KH <gregkh@linuxfoundation.org>
v3: Splitted patch in two parts, as suggested by Greg KH <gregkh@linuxfoundation.org>

 drivers/staging/kpc2000/kpc2000_i2c.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c
index 25bb5c97dd21..68f5ec000365 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;
-- 
2.30.1


      parent reply	other threads:[~2021-02-19 16:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18 20:28 [PATCH] staging: kpc2000: code style: fix alignment issues Nikolay Kyx
2021-02-18 20:52 ` Greg KH
2021-02-19  8:04   ` [PATCH v2] " Nikolay Kyx
2021-02-19  8:26     ` Greg KH
2021-02-19 16:34       ` [PATCH v3 01/02] " Nikolay Kyx
2021-02-21 13:03         ` Greg KH
2021-02-21 13:22           ` [PATCH v4 01/02] staging: kpc2000: code style: match alignment with open parenthesis Nikolay Kyx
2021-02-21 13:22             ` [PATCH v4 02/02] staging: kpc2000: code style: fix line length issue Nikolay Kyx
2021-02-19 16:34       ` Nikolay Kyx [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210219163420.24930-1-knv418@gmail.com \
    --to=knv418@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sergiu.cuciurean@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).