aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_main.c
diff options
context:
space:
mode:
authorBernard Zhao <[email protected]>2020-11-18 17:11:46 -0800
committerZack Rusin <[email protected]>2021-04-29 14:54:54 -0400
commitcf63561cbae71bc141346aa74783ebf0a7c52fbf (patch)
tree1a16b513e30b8b6428d4c005c98028b96280929a /drivers/gpu/drm/ast/ast_main.c
parented2684e7051a550f29af9075a55dbb8b1dd6de53 (diff)
drm/vmwgfx: use min_t to replace min
Use min_t to replace min, min_t is a bit fast because min use twice typeof. This patch also fix check_patch.pl warning: WARNING: min() should probably be min_t(unsigned long, num_pages, VMW_PPN_PER_REMAP) +unsigned long nr = min(num_pages, (unsigned long) VMW_PPN_PER_REMAP); Signed-off-by: Bernard Zhao <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Zack Rusin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions