Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-12-12 Thread Andy Shevchenko
On Wed, Dec 2, 2015 at 1:38 AM, Andrew Morton wrote: > On Tue, 20 Oct 2015 22:30:04 +0200 Rasmus Villemoes > wrote: > >> I didn't find a BUILD_BUG/compiletime_assertion/... which would work >> outside function context, so for now I just open-coded it. >> > > It comes up occasionally. It would

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-12-12 Thread Andy Shevchenko
On Wed, Dec 2, 2015 at 1:38 AM, Andrew Morton wrote: > On Tue, 20 Oct 2015 22:30:04 +0200 Rasmus Villemoes > wrote: > >> I didn't find a BUILD_BUG/compiletime_assertion/... which would work >> outside function context, so for now I just

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-12-01 Thread Andrew Morton
On Tue, 20 Oct 2015 22:30:04 +0200 Rasmus Villemoes wrote: > I didn't find a BUILD_BUG/compiletime_assertion/... which would work > outside function context, so for now I just open-coded it. > It comes up occasionally. It would be better to create one. > +extern char

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-12-01 Thread Andrew Morton
On Tue, 20 Oct 2015 22:30:04 +0200 Rasmus Villemoes wrote: > I didn't find a BUILD_BUG/compiletime_assertion/... which would work > outside function context, so for now I just open-coded it. > It comes up occasionally. It would be better to create one. > +extern

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-10-21 Thread Rasmus Villemoes
On Wed, Oct 21 2015, kbuild test robot wrote: > Hi Rasmus, > > [auto build test ERROR on next-20151020 -- if it's inappropriate base, please > suggest rules for selecting the more suitable base] > > url: >

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-10-21 Thread Rasmus Villemoes
On Wed, Oct 21 2015, kbuild test robot wrote: > Hi Rasmus, > > [auto build test ERROR on next-20151020 -- if it's inappropriate base, please > suggest rules for selecting the more suitable base] > > url: >

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-10-20 Thread kbuild test robot
Hi Rasmus, [auto build test ERROR on next-20151020 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Rasmus-Villemoes/lib-vsprintf-c-pull-out-padding-code-from-dentry_name/20151021-043621 config:

[PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-10-20 Thread Rasmus Villemoes
Maurizio Lombardi reported a problem [1] with the %pb extension: It doesn't work for sufficiently large bitmaps, since the size is stashed in the field_width field of the struct printf_spec, which is currently an s16. Concretely, this manifested itself in /sys/bus/pseudo/drivers/scsi_debug/map

[PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-10-20 Thread Rasmus Villemoes
Maurizio Lombardi reported a problem [1] with the %pb extension: It doesn't work for sufficiently large bitmaps, since the size is stashed in the field_width field of the struct printf_spec, which is currently an s16. Concretely, this manifested itself in /sys/bus/pseudo/drivers/scsi_debug/map

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

2015-10-20 Thread kbuild test robot
Hi Rasmus, [auto build test ERROR on next-20151020 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Rasmus-Villemoes/lib-vsprintf-c-pull-out-padding-code-from-dentry_name/20151021-043621 config: