Re: resource_size_t printk whinging

From: Kyle McMartin
Date: Tue Feb 27 2007 - 08:15:44 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/