[powerpc] Build failure include/linux/compiler_types.h __alloc_size__ (next-20220928)

Kees Cook keescook at chromium.org
Thu Sep 29 18:17:37 AEST 2022


On Thu, Sep 29, 2022 at 11:49:28AM +0530, Sachin Sant wrote:
> Linux-next  6.0.0-rc7-next-20220928 fails to build on powerpc with
> following error:
> 
> make -j 17 -s && make modules_install && make install
> In file included from <command-line>:
> ./include/linux/percpu.h: In function '__alloc_reserved_percpu':
> ././include/linux/compiler_types.h:279:30: error: expected declaration specifiers before '__alloc_size__'
>  #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc
>                               ^~~~~~~~~~~~~~

Apologies for the breakage! This should be fixed by:

https://lore.kernel.org/lkml/20220929081642.1932200-1-keescook@chromium.org

-- 
Kees Cook


More information about the Linuxppc-dev mailing list