linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-wireless@vger.kernel.org, cbe-oss-dev@lists.ozlabs.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: ps3_gelic_wireless: fix format warning
Date: Mon, 8 Mar 2010 09:47:03 -0500	[thread overview]
Message-ID: <20100308144702.GA20622@tuxdriver.com> (raw)
In-Reply-To: <10f740e81003072233j1f9f6a0fr633e1fc65f4e5a5a@mail.gmail.com>

On Mon, Mar 08, 2010 at 07:33:27AM +0100, Geert Uytterhoeven wrote:
> On Tue, Mar 2, 2010 at 21:06, Linux Kernel Mailing List
> <linux-kernel@vger.kernel.org> wrote:
> > Gitweb:     http://git.kernel.org/linus/c6c97bdaa3307d0811f14c99c38c63a8dae36e1f
> > Commit:     c6c97bdaa3307d0811f14c99c38c63a8dae36e1f
> > Parent:     d3a571971e5af241074947fc80f6284677f6e014
> > Author:     John W. Linville <linville@tuxdriver.com>
> > AuthorDate: Mon Feb 1 09:55:56 2010 -0500
> > Committer:  John W. Linville <linville@tuxdriver.com>
> > CommitDate: Mon Feb 1 09:55:56 2010 -0500
> >
> >    ps3_gelic_wireless: fix format warning
> >
> >    Signed-off-by: John W. Linville <linville@tuxdriver.com>
> > ---
> >  drivers/net/ps3_gelic_wireless.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ps3_gelic_wireless.c
> > index d520e9e..448c5b6 100644
> > --- a/drivers/net/ps3_gelic_wireless.c
> > +++ b/drivers/net/ps3_gelic_wireless.c
> > @@ -1449,7 +1449,7 @@ static int gelic_wl_start_scan(struct gelic_wl_info *wl, int always_scan,
> >        void *buf = NULL;
> >        size_t len;
> >
> > -       pr_debug("%s: <- always=%d essid_len=%d\n", __func__,
> > +       pr_debug("%s: <- always=%d essid_len=%z\n", __func__,
> 
> `z' is just a modifier for a (missing) type, so this should be `%zu'.

Ugh...yes, correct.  I'll fix it.

Thanks!

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

      reply	other threads:[~2010-03-08 15:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201003022006.o22K6QqH019931@hera.kernel.org>
2010-03-08  6:33 ` ps3_gelic_wireless: fix format warning Geert Uytterhoeven
2010-03-08 14:47   ` John W. Linville [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=20100308144702.GA20622@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=cbe-oss-dev@lists.ozlabs.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /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).