Messages in this thread | | | Date | Mon, 6 Feb 2023 20:59:59 +0100 | Subject | Re: [PATCH] [RESEND v4] printf: fix errname.c list | From | Rasmus Villemoes <> |
| |
On 06/02/2023 20.40, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > On most architectures, gcc -Wextra warns about the list of error > numbers containing both EDEADLK and EDEADLOCK: >
[...]
> To ensure these are correct, add static_assert lines that verify > all the remaining aliases are in fact identical to the canonical > name. > > Fixes: 57f5677e535b ("printf: add support for printing symbolic error names") > Cc: Petr Mladek <pmladek@suse.com> > Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
You may also add Acked-by: me.
> Acked-by: Uwe Kleine-König <uwe@kleine-koenig.org> > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> > Link: https://lore.kernel.org/all/20210514213456.745039-1-arnd@kernel.org/ > Link: https://lore.kernel.org/all/20210927123409.1109737-1-arnd@kernel.org/ > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > I sent this a few times, but it never made it in so far. The warning > still shows up when enabling extra warnings, and this is an actual bug.
Petr, please pick this up.
Rasmus
| |