linux-next: Tree for Jun 15 (drivers/dma/apple-admac.c)

Arnd Bergmann arnd at arndb.de
Wed Jun 15 10:10:53 PDT 2022


On Wed, Jun 15, 2022 at 6:28 PM Randy Dunlap <rdunlap at infradead.org> wrote:
>
>
>
> On 6/14/22 23:01, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20220614:
> >
>
> on i386:
>
> ../drivers/dma/apple-admac.c: In function 'admac_cyclic_write_one_desc':
> ../drivers/dma/apple-admac.c:213:22: warning: right shift count >= width of type [-Wshift-count-overflow]
>   writel_relaxed(addr >> 32,       ad->base + REG_DESC_WRITE(channo));
>                       ^

This should probably use lower_32_bits()/upper_32_bits() then.

       Arnd



More information about the linux-arm-kernel mailing list