]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Rewrite drm_ioctl_flags() to resemble the new drm_ioctl() code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Mar 2015 13:52:00 +0000 (15:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Mar 2015 15:08:52 +0000 (16:08 +0100)
commit37ac6fc4da8b8561ba237b2e487bb0abc44fe765
treeba336619b6480f573e1e3f7312806c35363e4bed
parentc34208df3020dbad94080008bffc82d358a3c479
drm: Rewrite drm_ioctl_flags() to resemble the new drm_ioctl() code

Use the same logic when checking for valid ioctl range in
drm_ioctl_flags() that is used in drm_ioctl() to avoid
confusion.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_ioctl.c