LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Kyle McMartin <kyle@parisc-linux.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Kyle McMartin <kyle@parisc-linux.org>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: resource_size_t printk whinging
Date: Tue, 27 Feb 2007 08:15:06 -0500	[thread overview]
Message-ID: <20070227131506.GA3545@athena.road.mcmartin.ca> (raw)
In-Reply-To: <Pine.LNX.4.62.0702271201330.21803@pademelon.sonytel.be>

On Tue, Feb 27, 2007 at 12:02:50PM +0100, Geert Uytterhoeven wrote:
> But we don't run sparse on every build. We do run gcc (a lot).
> 

We probably could, in theory...

> > --- a/lib/vsprintf.c
> > +++ b/lib/vsprintf.c
> > @@ -477,6 +478,8 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
> >  			num = (unsigned short) va_arg(args, int);
> >  			if (flags & SIGN)
> >  				num = (signed short) num;
> > +		} else if (qualifier == 'R' || qualifier == 'R') {
>                                          ^                   ^
> One of them must be lowercase `r'.
> 

Duh. I'm a muppet.

  reply	other threads:[~2007-02-27 13:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27  4:16 Kyle McMartin
2007-02-27 11:02 ` Geert Uytterhoeven
2007-02-27 13:15   ` Kyle McMartin [this message]
2007-02-27 15:07     ` Tilman Schmidt
2007-02-27 19:39       ` Alexey Dobriyan
2007-02-27 17:42 ` H. Peter Anvin

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=20070227131506.GA3545@athena.road.mcmartin.ca \
    --to=kyle@parisc-linux.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: resource_size_t printk whinging' \
    /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

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).