mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the ia64 tree
@ 2010-12-17  0:23 Stephen Rothwell
  2010-12-17  0:43 ` Luck, Tony
  2010-12-17  0:50 ` Luck, Tony
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Rothwell @ 2010-12-17  0:23 UTC (permalink / raw)
  To: Luck, Tony; +Cc: linux-next, linux-kernel

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

Hi Tony,

After merging the ia64 tree, today's linux-next build (x86_64_allmodconfig)
produced these warnings:

drivers/acpi/apei/erst.c: In function 'erst_reader':
drivers/acpi/apei/erst.c:826: warning: passing argument 1 of 'spinlock_check' from incompatible pointer type
include/linux/spinlock.h:272: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
drivers/acpi/apei/erst.c:829: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type
include/linux/spinlock.h:338: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
drivers/acpi/apei/erst.c:834: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type
include/linux/spinlock.h:338: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
drivers/acpi/apei/erst.c:840: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type
include/linux/spinlock.h:338: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'

Introduced by commit ae85bdfb6bd024fab5556f9b78668b1c6aab6fb8 ("pstore:
X86 platform interface using ACPI/APEI/ERST").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* linux-next: build warnings after merge of the ia64 tree
@ 2014-07-16  2:00 Stephen Rothwell
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2014-07-16  2:00 UTC (permalink / raw)
  To: Tony Luck; +Cc: Gong Chen, linux-next, linux-kernel

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

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2014-07-16  2:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-17  0:23 linux-next: build warnings after merge of the ia64 tree Stephen Rothwell
2010-12-17  0:43 ` Luck, Tony
2010-12-17  0:50 ` Luck, Tony
2010-12-17  0:59   ` Stephen Rothwell
2010-12-17 19:58     ` Luck, Tony
2014-07-16  2:00 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®