On Mon, 28 Oct 2024 17:34:13 +0800, Binbin Zhou wrote: > Fix the following smatch static checker warning: > > drivers/dma/loongson2-apb-dma.c:189 ls2x_dma_write_cmd() > warn: was expecting a 64 bit value instead of '~(((0)) + (((~((0))) - (((1)) << (0)) + 1) & (~((0)) >> ((8 * 4) - 1 - (4)))))' > > The GENMASK macro used "unsigned long", which caused build issues when > using a 32-bit toolchain because it would try to access bits > 31. This > patch switches GENMASK to GENMASK_ULL, which uses "unsigned long long". > > [...] Applied, thanks! [1/1] dmaengine: loongson2-apb: Change GENMASK to GENMASK_ULL commit: 4b65d5322e1d8994acfdb9b867aa00bdb30d177b Best regards, -- ~Vinod