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

From: Stephen Rothwell
Date: Mon Mar 18 2019 - 22:58:45 EST


Hi all,

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

drivers/leds/leds-pca9532.c: In function 'pca9532_probe':
drivers/leds/leds-pca9532.c:536:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
devid = (int)of_id->data;
^

Introduced by commit

6b788fae618c ("leds: fix a potential NULL pointer dereference")

--
Cheers,
Stephen Rothwell

Attachment: pgpSHEpgtUZ7h.pgp
Description: OpenPGP digital signature