2012-02-13 02:21:35

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the pci tree

Hi Jesse,

After merging the pci tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/pci/quirks.c: In function 'do_one_fixup_debug':
drivers/pci/quirks.c:2915:2: error: implicit declaration of function 'task_pid_nr' [-Werror=implicit-function-declaration]
drivers/pci/quirks.c:2916:2: error: implicit declaration of function 'ktime_get' [-Werror=implicit-function-declaration]
drivers/pci/quirks.c:2916:11: error: incompatible types when assigning to type 'ktime_t' from type 'int'
drivers/pci/quirks.c:2918:10: error: incompatible types when assigning to type 'ktime_t' from type 'int'

Caused by commit 49107584a885 ("PCI: Annotate PCI quirks in
initcall_debug style"). Some missing include files ...

I have used the pci tree from next-20120210 for today.
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (860.00 B)
(No filename) (836.00 B)
Download all attachments

2012-02-14 16:45:57

by Jesse Barnes

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the pci tree

On Mon, 13 Feb 2012 13:21:25 +1100
Stephen Rothwell <[email protected]> wrote:

> Hi Jesse,
>
> After merging the pci tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> drivers/pci/quirks.c: In function 'do_one_fixup_debug':
> drivers/pci/quirks.c:2915:2: error: implicit declaration of function 'task_pid_nr' [-Werror=implicit-function-declaration]
> drivers/pci/quirks.c:2916:2: error: implicit declaration of function 'ktime_get' [-Werror=implicit-function-declaration]
> drivers/pci/quirks.c:2916:11: error: incompatible types when assigning to type 'ktime_t' from type 'int'
> drivers/pci/quirks.c:2918:10: error: incompatible types when assigning to type 'ktime_t' from type 'int'
>
> Caused by commit 49107584a885 ("PCI: Annotate PCI quirks in
> initcall_debug style"). Some missing include files ...
>
> I have used the pci tree from next-20120210 for today.

I pushed a v2 of the patch with the right #includes, hopefully it'll
build across arches this time.

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center


Attachments:
signature.asc (836.00 B)