public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] component: fix build warning on arm64 builds
Date: Wed, 25 Mar 2015 15:11:52 +0100	[thread overview]
Message-ID: <20150325141152.GA22063@kroah.com> (raw)
In-Reply-To: <E1YOjQi-0002Tw-QT@rmk-PC.arm.linux.org.uk>

On Fri, Feb 20, 2015 at 08:59:24AM +0000, Russell King wrote:
> Fix:
> drivers/base/component.c: In function 'find_components':
> drivers/base/component.c:97:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat]
> on ARM64 builds.
> 
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> ---
>  drivers/base/component.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/base/component.c b/drivers/base/component.c
> index a6f2050d17b7..d99b06b341fb 100644
> --- a/drivers/base/component.c
> +++ b/drivers/base/component.c
> @@ -94,7 +94,7 @@ static int find_components(struct master *master)
>  	for (i = 0; i < match->num; i++) {
>  		struct component *c;
>  
> -		dev_dbg(master->dev, "Looking for component %u\n", i);
> +		dev_dbg(master->dev, "Looking for component %zu\n", i);
>  
>  		if (match->compare[i].component)
>  			continue;
> -- 
> 1.8.3.1

Doesn't apply to my tree, is this already upstream?

thanks,

greg k-h

      reply	other threads:[~2015-03-25 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20  8:59 [PATCH] component: fix build warning on arm64 builds Russell King
2015-03-25 14:11 ` Greg Kroah-Hartman [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=20150325141152.GA22063@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+kernel@arm.linux.org.uk \
    /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