Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 30, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 11 lines · Stephen Rothwell

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