hwmon: (smsc47m1) Remove 'h' from printk format specifier
authorTom Rix <trix@redhat.com>
Tue, 15 Dec 2020 18:32:37 +0000 (10:32 -0800)
committerGuenter 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

index b637836b58a18af3ce4177f3d6b29ce60a7c2824..37531b5c82547c6d79eb2df07ea08c4d5d0312a6 100644 (file)
@@ -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%hx already in use!\n",
+                                       "Region 0x%x-0x%x already in use!\n",
                                        start, start + len);
                                return -EBUSY;
                        }