Re: [PATCH] lib/vsprintf.c: remove %Z support

2017-01-09 Thread Alexey Dobriyan
On Wed, Jan 04, 2017 at 11:33:14AM +0200, Andy Shevchenko wrote: > On Wed, Jan 4, 2017 at 1:01 AM, Alexey Dobriyan wrote: > > Now that %z is standartised in C99 there is no reason to support %Z. > > Unlike %L it doesn't even make format strings smaller. > > For the following files: > Reviewed-by:

Re: [PATCH] lib/vsprintf.c: remove %Z support

2017-01-05 Thread Andrew Morton
On Wed, 4 Jan 2017 02:01:27 +0300 Alexey Dobriyan wrote: > Now that %z is standartised in C99 there is no reason to support %Z. > Unlike %L it doesn't even make format strings smaller. > > Use BUILD_BUG_ON in a couple ATM drivers. > > In case anyone didn't notice lib/vsprintf.o is about half of

Re: [PATCH] lib/vsprintf.c: remove %Z support

2017-01-04 Thread Andy Shevchenko
On Wed, Jan 4, 2017 at 1:01 AM, Alexey Dobriyan wrote: > Now that %z is standartised in C99 there is no reason to support %Z. > Unlike %L it doesn't even make format strings smaller. For the following files: Reviewed-by: Andy Shevchenko > drivers/net/ethernet/cadence/macb.c

[PATCH] lib/vsprintf.c: remove %Z support

2017-01-03 Thread Alexey Dobriyan
Now that %z is standartised in C99 there is no reason to support %Z. Unlike %L it doesn't even make format strings smaller. Use BUILD_BUG_ON in a couple ATM drivers. In case anyone didn't notice lib/vsprintf.o is about half of SLUB which is in my opinion is quite an achievement. Hopefully this pa