lkml.org 
[lkml]   [2020]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hwmon: remove h from printk format specifier
On Tue, Dec 15, 2020 at 10:32:37AM -0800, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> 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>

Applied. For subsequent patches, please include the affected driver
in the patch subject.

Thanks,
Guenter

> ---
> drivers/hwmon/smsc47m1.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c
> index b637836b58a1..37531b5c8254 100644
> --- 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%hx already in use!\n",
> + "Region 0x%x-0x%x already in use!\n",
> start, start + len);
> return -EBUSY;
> }

\
 
 \ /
  Last update: 2020-12-16 17:38    [W:0.068 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site