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)
commit53615af7a27400d252307093ce49768ccf6442a9
tree122fb87b30091a79ec3d6fed6b7cea97a335344f
parent83be003807415a07465fc5d748803b702409f3da
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