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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgp9lghc2GsCJ.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux