]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: sbuslib: remove compat_alloc_user_space usage
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Sep 2020 10:09:06 +0000 (12:09 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 25 Sep 2020 14:34:50 +0000 (16:34 +0200)
commitff5702e8a68263f96d946a64b3c27ea555a13b95
tree53ddfef8ab1447314b8fff9866dc8e8561975b69
parent4f299041a730cb19be95c1ea21dbb07b4adb5425
fbdev: sbuslib: remove compat_alloc_user_space usage

This is one of the last users of compat_alloc_user_space()
and copy_in_user(). The actual handler is implemented in the
same file and could be shared, but as I couldn't test this
properly I leave the native case alone and just make a straight
copy of it for the compat case, with a minimum set of
modifications.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200918100926.1447563-3-arnd@arndb.de
drivers/video/fbdev/sbuslib.c