diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-12-06 20:02:46 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-12-08 18:36:36 +0100 |
commit | 4aca4dbcac9d8eed8a8dc15b6883270a20a84218 (patch) | |
tree | 79fe845539ffb1ffb610b3d35805489b4febe5c3 /drivers/vme | |
parent | video: fbdev: efifb: Fix set but not used warning for screen_pitch (diff) | |
download | linux-4aca4dbcac9d8eed8a8dc15b6883270a20a84218.tar.xz linux-4aca4dbcac9d8eed8a8dc15b6883270a20a84218.zip |
video: fbdev: controlfb: Fix set but not used warnings
The controlfb driver has a number of dummy defines for IO operations.
They were introduced in commit a07a63b0e24d
("video: fbdev: controlfb: add COMPILE_TEST support").
The write variants did not use their value parameter in the
dummy versions, resulting in set but not used warnings.
Fix this by adding "(void)val" to silence the compiler.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patchwork.freedesktop.org/patch/msgid/20201206190247.1861316-13-sam@ravnborg.org
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions