Skip to content

fbdev: stop using compat_alloc_user_space

Arnd Bergmann dri-devel linux-fbdev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fbdev: simplify fb_getput_cmap()drivers/video/fbdev/core/fbmem.c+19 -250 replies
2/3fbdev: sbuslib: remove unused FBIOSCURSOR32 helperdrivers/video/fbdev/sbuslib.c+1 -280 replies
3/3fbdev: sbuslib: remove compat_alloc_user_space usagedrivers/video/fbdev/sbuslib.c+70 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] fbdev: stop using compat_alloc_user_space

The fbdev code uses compat_alloc_user_space in a few of its compat_ioctl handlers, which tends to be a bit more complicated and error-prone than calling the underlying handlers directly, so I would like to remove it completely.

This modifies two such functions in fbdev, and removes another one that is completely unused.

Arnd

Arnd Bergmann (3):
fbdev: simplify fb_getput_cmap()
fbdev: sbuslib: remove unused FBIOSCURSOR32 helper
fbdev: sbuslib: remove compat_alloc_user_space usage

 drivers/video/fbdev/core/fbmem.c |  44 +++++------
 drivers/video/fbdev/sbuslib.c    | 124 ++++++++++++++++++-------------
 2 files changed, 90 insertions(+), 78 deletions(-)
Signature · 1 line
2.27.0