Re: [PATCH v2 3/3] lib/vsprintf: Force type of flags value for gfp_t

2020-07-31 Thread Sergey Senozhatsky
On (20/07/31 16:49), Steven Rostedt wrote: > On Fri, 31 Jul 2020 21:08:24 +0300 > Andy Shevchenko wrote: > > > Sparse is not happy about restricted type being assigned: > > lib/vsprintf.c:1940:23: warning: incorrect type in assignment (different > > base types) > > lib/vsprintf.c:1940:23:

Re: [PATCH v2 3/3] lib/vsprintf: Force type of flags value for gfp_t

2020-07-31 Thread Steven Rostedt
On Fri, 31 Jul 2020 21:08:24 +0300 Andy Shevchenko wrote: > Sparse is not happy about restricted type being assigned: > lib/vsprintf.c:1940:23: warning: incorrect type in assignment (different > base types) > lib/vsprintf.c:1940:23:expected unsigned long [assigned] flags >

[PATCH v2 3/3] lib/vsprintf: Force type of flags value for gfp_t

2020-07-31 Thread Andy Shevchenko
Sparse is not happy about restricted type being assigned: lib/vsprintf.c:1940:23: warning: incorrect type in assignment (different base types) lib/vsprintf.c:1940:23:expected unsigned long [assigned] flags lib/vsprintf.c:1940:23:got restricted gfp_t [usertype] Force type of flags