projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c08e0
)
hwmon: (smsc47m1) Remove 'h' from printk format specifier
author
Tom Rix
<trix@redhat.com>
Tue, 15 Dec 2020 18:32:37 +0000
(10:32 -0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Thu, 28 Jan 2021 01:44:17 +0000
(17:44 -0800)
See Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.
Signed-off-by: Tom Rix <trix@redhat.com>
Link:
https://lore.kernel.org/r/20201215183237.2071770-1-trix@redhat.com
[groeck: Updated subject]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/smsc47m1.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/smsc47m1.c
b/drivers/hwmon/smsc47m1.c
index b637836b58a18af3ce4177f3d6b29ce60a7c2824..37531b5c82547c6d79eb2df07ea08c4d5d0312a6 100644
(file)
--- a/
drivers/hwmon/smsc47m1.c
+++ b/
drivers/hwmon/smsc47m1.c
@@
-682,7
+682,7
@@
static int __init smsc47m1_handle_resources(unsigned short address,
/* Request the resources */
if (!devm_request_region(dev, start, len, DRVNAME)) {
dev_err(dev,
- "Region 0x%
hx-0x%h
x already in use!\n",
+ "Region 0x%
x-0x%
x already in use!\n",
start, start + len);
return -EBUSY;
}