[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ab6adce-2318-4ae6-bde6-4317485639fd@p183>
Date: Mon, 12 Jun 2023 14:59:38 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Demi Marie Obenour <demi@...isiblethingslab.com>
Cc: linux-kernel@...r.kernel.org,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Hans de Goede <hdegoede@...hat.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>,
Lee Jones <lee@...nel.org>, Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Vincenzo Frascino <vincenzo.frascino@....com>,
Petr Mladek <pmladek@...e.com>,
Steven Rostedt <rostedt@...dmis.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v3 0/4] Make sscanf() stricter
> + bool _placeholder;
> + return simple_strntoull(cp, INT_MAX, endp, base, &_placeholder);
This can be done without introducing dummy variables:
void f(bool *b)
{
}
f((bool[1]){});
> > lib/vsprintf.c:3727:26: error: unknown conversion type character ‘!’ in format [-Werror=format=]
> So NAK.
Yeah, ! should go after format specifier like it does for %p.
Powered by blists - more mailing lists