lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warnings after merge of the ia64 tree
Hi all,

After merging the ia64 tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings (though presumably it started
yesterday):

In file included from include/ras/ras_event.h:11:0,
from drivers/ras/ras.c:13:
include/linux/aer.h:42:58: warning: 'struct pci_dev' declared inside parameter list
static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev)
^
include/linux/aer.h:42:58: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/aer.h:46:59: warning: 'struct pci_dev' declared inside parameter list
static inline int pci_disable_pcie_error_reporting(struct pci_dev *dev)
^
include/linux/aer.h:50:65: warning: 'struct pci_dev' declared inside parameter list
static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev)
^
include/linux/aer.h:57:14: warning: 'struct pci_dev' declared inside parameter list
struct aer_capability_regs *aer);
^

Introduced by commit 76ac8275f296 ("trace, RAS: Add basic RAS trace
event") and following patches.

So, presumably, aer.h either needs to include pci.h or, at least, have a

struct pci_dev;

line in it.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-07-16 04:41    [W:0.038 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site