projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba80c8
)
staging: kpc2000: code style: fix line length issue
author
Nikolay Kyx
<knv418@gmail.com>
Sun, 21 Feb 2021 13:22:46 +0000
(16:22 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:28 +0000
(09:25 +0100)
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>
Link:
https://lore.kernel.org/r/20210221132246.1154-2-knv418@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/staging/kpc2000/kpc2000_i2c.c
b/drivers/staging/kpc2000/kpc2000_i2c.c
index 3f1f833d3b5161b9685ff4cfc418f852c3ebcd5f..14f7940fa4fb5abffcccb2f5931709fef3e9c577 100644
(file)
--- 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;