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

From: Arnd Bergmann
Date: Wed Jun 15 2022 - 13:11:23 EST


On Wed, Jun 15, 2022 at 6:28 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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