From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Bartosz Golaszewski <bgolaszewski@baylibre•com>
Cc: Linux Next Mailing List <linux-next@vger•kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Khouloud Touil <ktouil@baylibre•com>
Subject: linux-next: build warning after merge of the at24 tree
Date: Fri, 10 Jan 2020 16:33:37 +1100 [thread overview]
Message-ID: <20200110163337.07099844@canb.auug.org.au> (raw)
[-- 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 --]
reply other threads:[~2020-01-10 5:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200110163337.07099844@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=bgolaszewski@baylibre$(echo .)com \
--cc=ktouil@baylibre$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox