linux_dsm_epyc7002/drivers/gpu/drm/nouveau/nvkm
Arnd Bergmann b515483e12 drm/nouveau/clk: fix gcc-7 -Wint-in-bool-context warning
gcc thinks that interpreting a multiplication result as a bool
is confusing:

drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c: In function 'read_pll':
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c:133:8: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context]

Adding a temporary variable to contain the divisor helps make
it clear what is going on and avoids that warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2018-02-02 15:24:10 +10:00
..
core drm/nouveau/core/memory: fix missing mutex unlock 2017-11-03 09:12:10 +10:00
engine drm/nouveau: Add support for SLCG for Kepler2 2018-02-02 15:24:09 +10:00
falcon drm/nouveau/secboot/gp108: implement on top of acr_r370 2018-02-02 15:24:05 +10:00
subdev drm/nouveau/clk: fix gcc-7 -Wint-in-bool-context warning 2018-02-02 15:24:10 +10:00
Kbuild drm/nouveau/core: add falcon library functions 2017-02-17 15:14:30 +10:00