* linux-next: build failure after merge of the gpio tree
@ 2014-07-29 8:31 Stephen Rothwell
2014-07-29 8:42 ` Thierry Reding
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2014-07-29 8:31 UTC (permalink / raw)
To: linux-arm-kernel
Hi Linus,
After merging the gpio tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
In file included from arch/arm/mach-tegra/board-paz00.c:20:0:
include/linux/gpio/machine.h:24:2: error: unknown type name 'u16'
u16 chip_hwnum;
^
include/linux/gpio/machine.h:31:19: error: field 'list' has incomplete type
struct list_head list;
^
Caused by commit 0a6d315827ee ("gpio: split gpiod board registration
into machine header") or an interaction of that with commit
a0524acc94c9 ("ARM: tegra: Sort includes alphabetically") from the
arm-soc tree.
linux/gpio/machine.h needs to include some of the same files that
linux/gpio/driver.h does. See Rule 1 in Documentation/SubmitChecklist.
I have used the version of the gpio tree from next-20140728 for today.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140729/ede14a77/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux-next: build failure after merge of the gpio tree
2014-07-29 8:31 linux-next: build failure after merge of the gpio tree Stephen Rothwell
@ 2014-07-29 8:42 ` Thierry Reding
2014-08-04 4:10 ` Alexandre Courbot
0 siblings, 1 reply; 4+ messages in thread
From: Thierry Reding @ 2014-07-29 8:42 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 29, 2014 at 10:31:53AM +0200, Stephen Rothwell wrote:
> * PGP Signed by an unknown key
>
> Hi Linus,
>
> After merging the gpio tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> In file included from arch/arm/mach-tegra/board-paz00.c:20:0:
> include/linux/gpio/machine.h:24:2: error: unknown type name 'u16'
> u16 chip_hwnum;
> ^
> include/linux/gpio/machine.h:31:19: error: field 'list' has incomplete type
> struct list_head list;
> ^
>
> Caused by commit 0a6d315827ee ("gpio: split gpiod board registration
> into machine header") or an interaction of that with commit
> a0524acc94c9 ("ARM: tegra: Sort includes alphabetically") from the
> arm-soc tree.
>
> linux/gpio/machine.h needs to include some of the same files that
> linux/gpio/driver.h does. See Rule 1 in Documentation/SubmitChecklist.
>
> I have used the version of the gpio tree from next-20140728 for today.
I think linux/gpio/machine.h needs at least linux/types.h (for u16,
though I guess that "dependency" could be removed by simply making
gpiod_lookup.chip_hwnum an unsigned int) and linux/list.h for struct
list_head.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140729/67c920e9/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux-next: build failure after merge of the gpio tree
2014-07-29 8:42 ` Thierry Reding
@ 2014-08-04 4:10 ` Alexandre Courbot
2014-08-04 4:28 ` Stephen Rothwell
0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Courbot @ 2014-08-04 4:10 UTC (permalink / raw)
To: linux-arm-kernel
I have sent a patch to fix this. In the meantime, if the merge
conflict of the GPIO tree on board-paz00.c is solved by taking the
GPIO version, there is no build error.
There are a few important patches pending in the GPIO tree that should
undergo testing - Stephen, do you think you could resolve the conflict
that way to enable the latest GPIO tree to be tested again?
Thanks,
Alex.
On Tue, Jul 29, 2014 at 5:42 PM, Thierry Reding <treding@nvidia.com> wrote:
> On Tue, Jul 29, 2014 at 10:31:53AM +0200, Stephen Rothwell wrote:
>> * PGP Signed by an unknown key
>>
>> Hi Linus,
>>
>> After merging the gpio tree, today's linux-next build (arm
>> multi_v7_defconfig) failed like this:
>>
>> In file included from arch/arm/mach-tegra/board-paz00.c:20:0:
>> include/linux/gpio/machine.h:24:2: error: unknown type name 'u16'
>> u16 chip_hwnum;
>> ^
>> include/linux/gpio/machine.h:31:19: error: field 'list' has incomplete type
>> struct list_head list;
>> ^
>>
>> Caused by commit 0a6d315827ee ("gpio: split gpiod board registration
>> into machine header") or an interaction of that with commit
>> a0524acc94c9 ("ARM: tegra: Sort includes alphabetically") from the
>> arm-soc tree.
>>
>> linux/gpio/machine.h needs to include some of the same files that
>> linux/gpio/driver.h does. See Rule 1 in Documentation/SubmitChecklist.
>>
>> I have used the version of the gpio tree from next-20140728 for today.
>
> I think linux/gpio/machine.h needs at least linux/types.h (for u16,
> though I guess that "dependency" could be removed by simply making
> gpiod_lookup.chip_hwnum an unsigned int) and linux/list.h for struct
> list_head.
>
> Thierry
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux-next: build failure after merge of the gpio tree
2014-08-04 4:10 ` Alexandre Courbot
@ 2014-08-04 4:28 ` Stephen Rothwell
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2014-08-04 4:28 UTC (permalink / raw)
To: linux-arm-kernel
Hi Alexandre,
On Mon, 4 Aug 2014 13:10:14 +0900 Alexandre Courbot <gnurou@gmail.com> wrote:
>
> I have sent a patch to fix this. In the meantime, if the merge
> conflict of the GPIO tree on board-paz00.c is solved by taking the
> GPIO version, there is no build error.
>
> There are a few important patches pending in the GPIO tree that should
> undergo testing - Stephen, do you think you could resolve the conflict
> that way to enable the latest GPIO tree to be tested again?
No, but I will apply that fix patch in my merge of the gpio tree - just
make sure it is applied to the gpio tree before Linus (Torvalds) is
asked to pull it.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140804/edfa74e2/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-04 4:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 8:31 linux-next: build failure after merge of the gpio tree Stephen Rothwell
2014-07-29 8:42 ` Thierry Reding
2014-08-04 4:10 ` Alexandre Courbot
2014-08-04 4:28 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox