diff options
author | Joshua Clayton <[email protected]> | 2016-01-14 15:22:10 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-01-14 16:00:49 -0800 |
commit | 543dfb2df8ebb3eb0b499eae1d63de1701a99b40 (patch) | |
tree | 07fa19486636a026e8ab33549671018027dcdff3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 84638335900f1995495838fe1bd4870c43ec1f67 (diff) |
mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE()
Running sparse on drivers/staging/lustre results in dozens of warnings:
include/linux/gfp.h:281:41: warning: odd constant _Bool cast (400000
becomes 1)
Use "!!" to explicitly convert to bool and get rid of the warning.
Signed-off-by: Joshua Clayton <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions