All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the nfc-next tree
@ 2018-06-12  0:19 Stephen Rothwell
  2018-06-18  3:46 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2018-06-12  0:19 UTC (permalink / raw)
  To: Samuel Ortiz
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Amit Pundir

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

Hi Samuel,

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()")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: build warning after merge of the nfc-next tree
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2018-06-18  3:46 UTC (permalink / raw)
  To: Samuel Ortiz
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Amit Pundir

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-18  3:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.