Re: linux-next: build warning after merge of the pinctrl tree

From: Linus Walleij
Date: Tue Mar 30 2021 - 03:52:50 EST


On Tue, Mar 30, 2021 at 8:07 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> After merging the pinctrl tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/pinctrl/bcm/pinctrl-bcm6362.c: In function 'bcm6362_set_gpio':
> drivers/pinctrl/bcm/pinctrl-bcm6362.c:503:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> 503 | (uint32_t) desc->drv_data, 0);
> | ^
>
> Introduced by commit
>
> 705791e23ecd ("pinctrl: add a pincontrol driver for BCM6362")

Ha! The 0day robot didn't see it. Good that we have so many layers.

I bet Álvaro will have a patch to fix it in no time.

Yours,
Linus Walleij