* v3.4-stable-queue build errors
@ 2015-06-13 5:34 Guenter Roeck
2015-06-15 3:23 ` Zefan Li
0 siblings, 1 reply; 6+ messages in thread
From: Guenter Roeck @ 2015-06-13 5:34 UTC (permalink / raw)
To: stable; +Cc: Greg Kroah-Hartman, Li Zefan
kernel/printk.c: In function 'register_console':
kernel/printk.c:1501:3: error: size of unnamed array is negative
BUILD_BUG_ON(sizeof(console_cmdline[i].name) != sizeof(newcon->name));
All architectures / builds are affected.
Caused by 'console: Fix console name size mismatch', which introduces
the BUILD_BUG_ON (but nothing else). Looks like the actual name length
increase in struct console_cmdline (in kernel/printk.c) got lost.
Guenter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.4-stable-queue build errors
2015-06-13 5:34 v3.4-stable-queue build errors Guenter Roeck
@ 2015-06-15 3:23 ` Zefan Li
2015-06-15 4:54 ` Guenter Roeck
0 siblings, 1 reply; 6+ messages in thread
From: Zefan Li @ 2015-06-15 3:23 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable, Greg Kroah-Hartman
On 2015/6/13 13:34, Guenter Roeck wrote:
> kernel/printk.c: In function 'register_console':
> kernel/printk.c:1501:3: error: size of unnamed array is negative
> BUILD_BUG_ON(sizeof(console_cmdline[i].name) != sizeof(newcon->name));
>
> All architectures / builds are affected.
>
> Caused by 'console: Fix console name size mismatch', which introduces
> the BUILD_BUG_ON (but nothing else). Looks like the actual name length
> increase in struct console_cmdline (in kernel/printk.c) got lost.
>
Now should be fixed. Don't know how that happened..
Thanks for testing!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.4-stable-queue build errors
2015-06-15 3:23 ` Zefan Li
@ 2015-06-15 4:54 ` Guenter Roeck
2015-06-15 6:32 ` Zefan Li
0 siblings, 1 reply; 6+ messages in thread
From: Guenter Roeck @ 2015-06-15 4:54 UTC (permalink / raw)
To: Zefan Li; +Cc: stable, Greg Kroah-Hartman
On 06/14/2015 08:23 PM, Zefan Li wrote:
> On 2015/6/13 13:34, Guenter Roeck wrote:
>> kernel/printk.c: In function 'register_console':
>> kernel/printk.c:1501:3: error: size of unnamed array is negative
>> BUILD_BUG_ON(sizeof(console_cmdline[i].name) != sizeof(newcon->name));
>>
>> All architectures / builds are affected.
>>
>> Caused by 'console: Fix console name size mismatch', which introduces
>> the BUILD_BUG_ON (but nothing else). Looks like the actual name length
>> increase in struct console_cmdline (in kernel/printk.c) got lost.
>>
>
> Now should be fixed. Don't know how that happened..
>
This problem is gone, but there is another problem.
Building alpha:defconfig ... failed
--------------
Error log:
mm/slub.c: In function 'unfreeze_partials':
mm/slub.c:1920:7: error: 'm' undeclared (first use in this function)
mm/slub.c:1920:7: note: each undeclared identifier is reported only once for each function it appears in
mm/slub.c:1920:12: error: 'M_FREE' undeclared (first use in this function)
make[1]: *** [mm/slub.o] Error 1
This affects most of the builds.
Guenter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.4-stable-queue build errors
2015-06-15 4:54 ` Guenter Roeck
@ 2015-06-15 6:32 ` Zefan Li
2015-06-15 13:34 ` Guenter Roeck
0 siblings, 1 reply; 6+ messages in thread
From: Zefan Li @ 2015-06-15 6:32 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable, Greg Kroah-Hartman
On 2015/6/15 12:54, Guenter Roeck wrote:
> On 06/14/2015 08:23 PM, Zefan Li wrote:
>> On 2015/6/13 13:34, Guenter Roeck wrote:
>>> kernel/printk.c: In function 'register_console':
>>> kernel/printk.c:1501:3: error: size of unnamed array is negative
>>> BUILD_BUG_ON(sizeof(console_cmdline[i].name) != sizeof(newcon->name));
>>>
>>> All architectures / builds are affected.
>>>
>>> Caused by 'console: Fix console name size mismatch', which introduces
>>> the BUILD_BUG_ON (but nothing else). Looks like the actual name length
>>> increase in struct console_cmdline (in kernel/printk.c) got lost.
>>>
>>
>> Now should be fixed. Don't know how that happened..
>>
>
> This problem is gone, but there is another problem.
>
> Building alpha:defconfig ... failed
> --------------
> Error log:
> mm/slub.c: In function 'unfreeze_partials':
> mm/slub.c:1920:7: error: 'm' undeclared (first use in this function)
> mm/slub.c:1920:7: note: each undeclared identifier is reported only once for each function it appears in
> mm/slub.c:1920:12: error: 'M_FREE' undeclared (first use in this function)
> make[1]: *** [mm/slub.o] Error 1
>
> This affects most of the builds.
>
I just backported a slub fix but forgot the last chunk.. My config enables slab
instead of slub, so I didn't catch this.
Now should be fixed. Thanks again.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.4-stable-queue build errors
2015-06-15 6:32 ` Zefan Li
@ 2015-06-15 13:34 ` Guenter Roeck
2015-06-16 2:52 ` Zefan Li
0 siblings, 1 reply; 6+ messages in thread
From: Guenter Roeck @ 2015-06-15 13:34 UTC (permalink / raw)
To: Zefan Li; +Cc: stable, Greg Kroah-Hartman
On 06/14/2015 11:32 PM, Zefan Li wrote:
>
> Now should be fixed. Thanks again.
>
>
Now we are down to
Building powerpc:defconfig ... failed
--------------
Error log:
arch/powerpc/platforms/powernv/pci-ioda.c: In function 'pnv_ioda_setup_pe_segments':
arch/powerpc/platforms/powernv/pci-ioda.c:395:3: error: passing argument 1 of 'pcibios_resource_to_bus' from incompatible pointer type [-Werror]
pcibios_resource_to_bus(dev, ®ion, &io_res);
arch/powerpc/platforms/powernv/pci-ioda.c:425:3: error: passing argument 1 of 'pcibios_resource_to_bus' from incompatible pointer type [-Werror]
pcibios_resource_to_bus(dev, ®ion, &m32_res);
which affects a couple of powerpc builds.
Guenter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.4-stable-queue build errors
2015-06-15 13:34 ` Guenter Roeck
@ 2015-06-16 2:52 ` Zefan Li
0 siblings, 0 replies; 6+ messages in thread
From: Zefan Li @ 2015-06-16 2:52 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable, Greg Kroah-Hartman
> Now we are down to
>
> Building powerpc:defconfig ... failed
> --------------
> Error log:
> arch/powerpc/platforms/powernv/pci-ioda.c: In function 'pnv_ioda_setup_pe_segments':
> arch/powerpc/platforms/powernv/pci-ioda.c:395:3: error: passing argument 1 of 'pcibios_resource_to_bus' from incompatible pointer type [-Werror]
> pcibios_resource_to_bus(dev, ®ion, &io_res);
>
> arch/powerpc/platforms/powernv/pci-ioda.c:425:3: error: passing argument 1 of 'pcibios_resource_to_bus' from incompatible pointer type [-Werror]
> pcibios_resource_to_bus(dev, ®ion, &m32_res);
>
> which affects a couple of powerpc builds.
>
I made some changes in my local tree, but didn't use "quilt add" to add them
to the patch.
Now fixed. Hope this is the last one...
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-06-16 2:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-13 5:34 v3.4-stable-queue build errors Guenter Roeck
2015-06-15 3:23 ` Zefan Li
2015-06-15 4:54 ` Guenter Roeck
2015-06-15 6:32 ` Zefan Li
2015-06-15 13:34 ` Guenter Roeck
2015-06-16 2:52 ` Zefan Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox