]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
video: fbdev: controlfb: fix sparse warning about using incorrect type
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 24 Mar 2020 13:45:03 +0000 (14:45 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 17 Apr 2020 13:50:01 +0000 (15:50 +0200)
commit38bf1077cf24cc20fdf459e51bb87b553f4fb79d
tree8f5420c211d6610c9894ba98be4fc1dfa90925c5
parent304d63d4d89dc2c24bdfc7730355ca38f589f91b
video: fbdev: controlfb: fix sparse warning about using incorrect type

Use in_le32() instead of le32_to_cpup() to fix sparse warning about
improper type of the argument.

Also drop inline keyword from control_par_to_var() prototype
(to match function definition).

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200324134508.25120-2-b.zolnierkie@samsung.com
drivers/video/fbdev/controlfb.c