stable-rc build: 59 warnings 0 failures (stable-rc/v3.18.54-60-g35c7f23)
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Olof's autobuilder
Here are the build results from automated periodic testing.
The tree being built was stable-rc, found at:
Quoted 8 lines
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git/
35c7f23 Linux 3.18.55-rc1
Warnings:
2
include/linux/stddef.h:8:14: warning: 'return' with a value, in function returning void
57drivers/of/fdt.c:384:10: warning: 'return' with a value, in function returning void
Caused by the backport of
0aa459efa045 ("of: fdt: add missing allocation-failure check")
which relies on another change from:
83262418b0ef ("drivers/of: Return allocated memory from of_fdt_unflatten_tree()")
Possible fixes are
a) drop 0aa459efa045, as it won't be that important on 3.18: DT overlays were added only in 3.19, so this won't ever be called at runtime, and we don't normally worry about kmalloc failures during early boot.
b) backport 83262418b0ef, which is otherwise not needed on stable
c) apply or fold the trivial fixup:
8<--------
[stable 3.18] fix __unflatten_device_tree warning
A backported patch needs to be modified for a context change
drivers/of/fdt.c:384:10: warning: 'return' with a value, in function returning void
drivers/of/fdt.c +1 -1
@@ -508,7 +508,7 @@ void *__unflatten_device_tree(const void *blob,/* Allocate memory for the expanded device tree */ mem =dt_alloc (size +4 , __alignof__(struct device_node ));if (!mem) -return NULL ; +return ;memset (mem,0 , size);
gregkh
maintainerQuoted 49 lines · Arnd Bergmann
Quoted 4 lines · Olof's autobuilder
Here are the build results from automated periodic testing.
The tree being built was stable-rc, found at:
Quoted 8 lines
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git/
35c7f23 Linux 3.18.55-rc1
Warnings:
2
include/linux/stddef.h:8:14: warning: 'return' with a value, in function returning void
57drivers/of/fdt.c:384:10: warning: 'return' with a value, in function returning voidCaused by the backport of
0aa459efa045("of: fdt: add missing allocation-failure check")which relies on another change from:
83262418b0ef("drivers/of: Return allocated memory fromof_fdt_unflatten_tree()")Possible fixes are
a) drop
0aa459efa045, as it won't be that important on 3.18: DT overlays were added only in 3.19, so this won't ever be called at runtime, and we don't normally worry about kmalloc failures during early boot.b) backport
83262418b0ef, which is otherwise not needed on stablec) apply or fold the trivial fixup:
8<--------
[stable 3.18] fix__unflatten_device_treewarningA backported patch needs to be modified for a context change
drivers/of/fdt.c:384:10: warning: 'return' with a value, in function returning voidFixes 0aa459efa045 ("of: fdt: add missing allocation-failure check")Signed-off-by Arnd Bergmann <[email protected]>drivers/of/fdt.c +0
-0
drivers/of/fdt.c void *__unflatten_device_tree(const void *blob, · line 513
Quoted 7 lines
drivers/of/fdt.c +1
-1@@ -508,7 +508,7 @@ void *__unflatten_device_tree(const void *blob,/* Allocate memory for the expanded device tree */ mem =dt_alloc (size +4 , __alignof__(struct device_node ));if (!mem) -return NULL ; +return ;memset (mem,0 , size);
Patch looks corrupted, can you resend it?
thanks,
greg k-h