From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Samuel Ortiz <sameo@linux•intel.com>
Cc: Linux-Next Mailing List <linux-next@vger•kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Amit Pundir <amit.pundir@linaro•org>
Subject: Re: linux-next: build warning after merge of the nfc-next tree
Date: Mon, 18 Jun 2018 13:46:43 +1000 [thread overview]
Message-ID: <20180618134643.27e47330@canb.auug.org.au> (raw)
In-Reply-To: <20180612101954.63eb9e60@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 1910 bytes --]
Hi all,
On Tue, 12 Jun 2018 10:19:54 +1000 Stephen Rothwell <sfr@canb•auug.org.au> wrote:
>
> After merging the nfc-next tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_open':
> drivers/nfc/fdp/fdp.c:250:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_close':
> drivers/nfc/fdp/fdp.c:260:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_send':
> drivers/nfc/fdp/fdp.c:268:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_recv_frame':
> drivers/nfc/fdp/fdp.c:279:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_core_reset_ntf_packet':
> drivers/nfc/fdp/fdp.c:602:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_prop_patch_ntf_packet':
> drivers/nfc/fdp/fdp.c:614:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
> drivers/nfc/fdp/fdp.c: In function 'fdp_nci_remove':
> drivers/nfc/fdp/fdp.c:789:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = &info->phy->i2c_dev->dev;
> ^~~
>
> Introduced by commit
>
> 7579d009c4a1 ("NFC: fdp: Remove __func__ from dev_dbg()")
I am still getting these ...
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2018-06-18 3:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 0:19 linux-next: build warning after merge of the nfc-next tree Stephen Rothwell
2018-06-18 3:46 ` Stephen Rothwell [this message]
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=20180618134643.27e47330@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=amit.pundir@linaro$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sameo@linux$(echo .)intel.com \
/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