Hi all, After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/bitops.h:5, from include/linux/kernel.h:12, from include/linux/ascii85.h:11, from drivers/gpu/drm/msm/adreno/adreno_gpu.c:9: drivers/gpu/drm/msm/adreno/adreno_gpu.c: In function 'adreno_iommu_create_address_space': include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative] 36 | (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) | ^~ include/linux/bits.h:38:31: note: in expansion of macro '__GENMASK' 38 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) | ^~~~~~~~~ drivers/gpu/drm/msm/adreno/adreno_gpu.c:212:11: note: in expansion of macro 'GENMASK' 212 | start & GENMASK(48, 0), size); | ^~~~~~~ Introduced by commit e3c64c7221f6 ("drm/msm: Set the global virtual address range from the IOMMU domain") -- Cheers, Stephen Rothwell
Attachment:
pgpLIcYZkvuLo.pgp
Description: OpenPGP digital signature