linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the at24 tree
@ 2020-01-10  5:33 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2020-01-10  5:33 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Khouloud Touil

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-10  5:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10  5:33 linux-next: build warning after merge of the at24 tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).