[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200110163337.07099844@canb.auug.org.au>
Date: Fri, 10 Jan 2020 16:33:37 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Bartosz Golaszewski <bgolaszewski@...libre.com>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Khouloud Touil <ktouil@...libre.com>
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
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists