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

From: Stephen Rothwell
Date: Wed Oct 10 2018 - 23:17:37 EST


Hi Linus,

After merging the pinctrl tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/pinctrl/bcm/pinctrl-ns.c: In function 'ns_pinctrl_probe':
drivers/pinctrl/bcm/pinctrl-ns.c:288:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
ns_pinctrl->chipset_flag = (unsigned int)of_id->data;
^
drivers/pinctrl/bcm/pinctrl-ns.c:310:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
unsigned int chipsets = (unsigned int)src->drv_data;
^

Introduced by commit

c12fb1774dea ("pinctrl: bcm: add Northstar driver")

--
Cheers,
Stephen Rothwell

Attachment: pgpAIdAR4Tt0S.pgp
Description: OpenPGP digital signature