linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: trix@redhat.com
Cc: jdelvare@suse.com, linux-hwmon@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: remove h from printk format specifier
Date: Wed, 16 Dec 2020 08:35:46 -0800	[thread overview]
Message-ID: <20201216163546.GA59836@roeck-us.net> (raw)
In-Reply-To: <20201215183237.2071770-1-trix@redhat.com>

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;
>  			}

      reply	other threads:[~2020-12-16 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 18:32 [PATCH] hwmon: remove h from printk format specifier trix
2020-12-16 16:35 ` Guenter Roeck [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=20201216163546.GA59836@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trix@redhat.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).