Messages in this thread |  | | Date | Fri, 10 Jan 2020 16:33:37 +1100 | From | Stephen Rothwell <> | Subject | linux-next: build warning after merge of the at24 tree |
| |
Hi all,
After merging the at24 tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:
drivers/nvmem/core.c: In function 'nvmem_register': drivers/nvmem/core.c:354:10: warning: returning 'long int' from a function with return type 'struct nvmem_device *' makes pointer from integer without a cast [-Wint-conversion] 354 | return PTR_ERR(nvmem->wp_gpio); | ^~~~~~~~~~~~~~~~~~~~~~~
Introduced by commit
2a127da461a9 ("nvmem: add support for the write-protect pin")
-- Cheers, Stephen Rothwell [unhandled content-type:application/pgp-signature] |  |