diff options
author | Arnd Bergmann <[email protected]> | 2017-06-14 12:40:36 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2017-06-14 12:40:36 +0200 |
commit | c544ad18bd47ee989eb433f09b6574a7f6d415c7 (patch) | |
tree | daac969d4530c982f409b449d9f924edb27d94c1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 32c1431eea4881a6b17bd7c639315010aeefa452 (diff) |
video: fbdev: avoid int-in-bool-context warning
gcc-7 suspects this code might be wrong because we use the
result of a multiplication as a bool:
drivers/video/fbdev/core/fbmon.c: In function 'fb_edid_add_monspecs':
drivers/video/fbdev/core/fbmon.c:1051:84: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context]
It's actually fine, so let's add a comparison to zero to make
that clear to the compiler too.
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions