diff options
author | Andy Shevchenko <[email protected]> | 2020-07-31 21:08:24 +0300 |
---|---|---|
committer | Sergey Senozhatsky <[email protected]> | 2020-08-01 12:52:57 +0900 |
commit | 30d497a0e1aadd904867081246c310dd0284eb41 (patch) | |
tree | 6f8af1f57968ecbd7c53770d6159b55156b3b09c /scripts/gdb/linux/dmesg.py | |
parent | 09ceb8d76e6fa2c6a5bfc22eabd0cebe599e1690 (diff) |
lib/vsprintf: Force type of flags value for gfp_t
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 value to make sparse happy.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sergey Senozhatsky <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions