linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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

* RE: linux-next: build warnings after merge of the ia64 tree
  2010-12-17  0:59   ` Stephen Rothwell
@ 2010-12-17 19:58     ` Luck, Tony
  0 siblings, 0 replies; 6+ messages in thread
From: Luck, Tony @ 2010-12-17 19:58 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel

>> commit 3b38bb5f7f06356a89bb2cbf92ad346025e95192
>> Author: Huang Ying <ying.huang@intel.com>
>> Date:   Thu Dec 2 10:40:53 2010 +0800
>> 
>>     ACPI, APEI, use raw spinlock in ERST
>
> That commit is in Linus' tree as of v2.6.37-rc6 so if you merge -rc6 into
> your tree, you can fix the conflict there.

Ah good. I've rebased a new version of my code on top of -rc6.

Thanks

-Tony

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

* Re: linux-next: build warnings after merge of the ia64 tree
  2010-12-17  0:50 ` Luck, Tony
@ 2010-12-17  0:59   ` Stephen Rothwell
  2010-12-17 19:58     ` Luck, Tony
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2010-12-17  0:59 UTC (permalink / raw)
  To: Luck, Tony; +Cc: linux-next, linux-kernel

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

Hi Tony,

On Thu, 16 Dec 2010 16:50:14 -0800 "Luck, Tony" <tony.luck@intel.com> wrote:
>
> > Hmmmh. I wonder why I didn't see them in my build?
> 
> Ah - because I only built against Linus' tree, and linux-next
> has:
> 
> commit 3b38bb5f7f06356a89bb2cbf92ad346025e95192
> Author: Huang Ying <ying.huang@intel.com>
> Date:   Thu Dec 2 10:40:53 2010 +0800
> 
>     ACPI, APEI, use raw spinlock in ERST

That commit is in Linus' tree as of v2.6.37-rc6 so if you merge -rc6 into
your tree, you can fix the conflict there.

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

* RE: 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
  2010-12-17  0:59   ` Stephen Rothwell
  1 sibling, 1 reply; 6+ messages in thread
From: Luck, Tony @ 2010-12-17  0:50 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel

> Hmmmh. I wonder why I didn't see them in my build?

Ah - because I only built against Linus' tree, and linux-next
has:

commit 3b38bb5f7f06356a89bb2cbf92ad346025e95192
Author: Huang Ying <ying.huang@intel.com>
Date:   Thu Dec 2 10:40:53 2010 +0800

    ACPI, APEI, use raw spinlock in ERST

Drop the ia64/test branch if you like.

-Tony

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

* RE: 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
  1 sibling, 0 replies; 6+ messages in thread
From: Luck, Tony @ 2010-12-17  0:43 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel

> After merging the ia64 tree, today's linux-next build
> 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

Hmmmh. I wonder why I didn't see them in my build?

I'll take a look and try to fix it tomorrow.

Thanks for the notice.

-Tony

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

* 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

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 --
2014-07-16  2:00 linux-next: build warnings after merge of the ia64 tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2010-12-17  0:23 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).