summaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-09-18 12:09:04 +0200
committerSam Ravnborg <sam@ravnborg.org>2020-09-25 16:34:50 +0200
commit06f4277463ba695287829e0b52d9b82be44f99bf (patch)
treeed7a746a922fd5656478d12d210ea7e74f6c69df /drivers/usb/typec
parent8bde6c0d4e7374fedeca959af42ad6819c792e08 (diff)
downloadlinux-stable-06f4277463ba695287829e0b52d9b82be44f99bf.tar.gz
linux-stable-06f4277463ba695287829e0b52d9b82be44f99bf.tar.bz2
linux-stable-06f4277463ba695287829e0b52d9b82be44f99bf.zip
fbdev: simplify fb_getput_cmap()
This function is one of the remaining users of compat_alloc_user_space() and copy_in_user(). Clean it up by copying to a local data structure copy instead, which also leads to more readable code. 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-1-arnd@arndb.de
Diffstat (limited to 'drivers/usb/typec')
0 files changed, 0 insertions, 0 deletions