On Thu, Feb 17, 2022 at 2:15 PM kernel test robot <lkp@xxxxxxxxx> wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master > head: 3f2b41135db9099b8d216fffeede5c2cb38ed277 > commit: 72113d0a7d90d950c7c9a87ab905bffb6bc5752d [19/26] signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverage > config: sparc64-randconfig-r036-20220217 (https://download.01.org/0day-ci/archive/20220217/202202172154.lJ3Z0yXe-lkp@xxxxxxxxx/config) > compiler: sparc64-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=72113d0a7d90d950c7c9a87ab905bffb6bc5752d > git remote add arnd-asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git > git fetch --no-tags arnd-asm-generic master > git checkout 72113d0a7d90d950c7c9a87ab905bffb6bc5752d > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@xxxxxxxxx> Thanks for the report, I added a fixup now: commit be92e1ded1d17d68444a793fb07c118ab98b28b5 Author: Arnd Bergmann <arnd@xxxxxxxx> Date: Fri Feb 18 16:59:04 2022 +0100 sparc64: fix building assembly files linux/posix_types.h must not be included in assembler files, so move the #include statement down into the appropriate ifdef section. Fixes: 72113d0a7d90 ("signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverage") Reported-by: kernel test robot <lkp@xxxxxxxxx> Link: https://lore.kernel.org/linux-arch/202202172154.lJ3Z0yXe-lkp@xxxxxxxxx/ Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> diff --git a/arch/sparc/include/uapi/asm/signal.h b/arch/sparc/include/uapi/asm/signal.h index d395af9b46d2..b61382924725 100644 --- a/arch/sparc/include/uapi/asm/signal.h +++ b/arch/sparc/include/uapi/asm/signal.h @@ -2,7 +2,6 @@ #ifndef _UAPI__SPARC_SIGNAL_H #define _UAPI__SPARC_SIGNAL_H -#include <asm/posix_types.h> #include <asm/sigcontext.h> #include <linux/compiler.h> @@ -152,6 +151,7 @@ struct sigstack { #include <asm-generic/signal-defs.h> +#include <asm/posix_types.h> #ifndef __KERNEL__ struct __new_sigaction {