lkml.org 
[lkml]   [2020]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-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]
\
 
 \ /
  Last update: 2020-01-10 06:34    [W:0.025 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site