]> Git Repo - linux.git/commit
MIPS: boot: Define __ASSEMBLY__ for its.S build
authorKees Cook <[email protected]>
Fri, 23 Feb 2018 00:59:26 +0000 (16:59 -0800)
committerLinus Torvalds <[email protected]>
Fri, 23 Feb 2018 01:06:25 +0000 (17:06 -0800)
commit0f9da844d87796ac31b04e81ee95e155e9043132
treeec9db2ac3a29f0e95b98b9281c172c74f491fb5a
parentbae6cfe8a3b980db8e11accecc6bdbb2ea314002
MIPS: boot: Define __ASSEMBLY__ for its.S build

The MIPS %.its.S compiler command did not define __ASSEMBLY__, which meant
when compiler_types.h was added to kconfig.h, unexpected things appeared
(e.g. struct declarations) which should not have been present. As done in
the general %.S compiler command, __ASSEMBLY__ is now included here too.

The failure was:

    Error: arch/mips/boot/vmlinux.gz.its:201.1-2 syntax error
    FATAL ERROR: Unable to parse input tree
    /usr/bin/mkimage: Can't read arch/mips/boot/vmlinux.gz.itb.tmp: Invalid argument
    /usr/bin/mkimage Can't add hashes to FIT blob

Reported-by: kbuild test robot <[email protected]>
Fixes: 28128c61e08e ("kconfig.h: Include compiler types to avoid missed struct attributes")
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/mips/boot/Makefile
This page took 0.051639 seconds and 4 git commands to generate.