Arnd Bergmann c544ad18bd 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 <arnd@arndb.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-06-14 12:40:36 +02:00
..
2017-01-30 17:39:49 +01:00
2017-05-11 11:12:26 -07:00
2017-02-25 13:20:22 -08:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2016-05-27 15:26:11 -07:00
2017-04-21 16:47:11 +02:00
2017-05-05 17:25:12 +02:00
2016-09-07 12:06:53 +03:00
2017-05-11 11:12:26 -07:00