From: Ville Syrjälä <[email protected]> BIT(32) is illegal when sizeof(long)==4. Use BIT_ULL(32) instead.
Cc: Xinliang Liu <[email protected]> Cc: Tian Tao <[email protected]> Cc: Xinwei Kong <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: Yongqin Liu <[email protected]> Cc: John Stultz <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> --- drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h b/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h index be9e789c2d04..36f923cc7594 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h @@ -10,7 +10,7 @@ /* * ADE Registers */ -#define MASK(x) (BIT(x) - 1) +#define MASK(x) (BIT_ULL(x) - 1) #define ADE_CTRL 0x0004 #define FRM_END_START_OFST 0 -- 2.43.2
