]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Use max() to make the ioctl alloc size code cleaner
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Mar 2015 13:51:59 +0000 (15:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Mar 2015 15:08:46 +0000 (16:08 +0100)
commit0e6d1b7b4a7ed70378e08af8c45a0e2dad9cb488
tree122fb87b30091a79ec3d6fed6b7cea97a335344f
parentd52835dd8845c28fb97f13713de4582bd44e61d8
drm: Use max() to make the ioctl alloc size code cleaner

Use max() to make the code to determine the allocation size for
the ioctl data easier to read.

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