====== Cleaning ====== ../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist. Stop. make[1]: *** nsfs: No such file or directory. Stop. ====== Baseline building the tree ====== In file included from iommufd_utils.h:11, from iommufd.c:12: In function ‘_test_cmd_get_hw_info’, inlined from ‘iommufd_ioas_get_hw_info’ at iommufd.c:781:3, inlined from ‘wrapper_iommufd_ioas_get_hw_info’ at iommufd.c:754:1: iommufd_utils.h:809:37: warning: array subscript ‘struct iommu_test_hw_info[0]’ is partly outside array bounds of ‘struct iommu_test_hw_info_buffer_smaller[1]’ [-Warray-bounds=] 809 | assert(!info->flags); | ~~~~^~~~~~~ iommufd.c: In function ‘wrapper_iommufd_ioas_get_hw_info’: iommufd.c:763:11: note: object ‘buffer_smaller’ of size 4 763 | } buffer_smaller; | ^~~~~~~~~~~~~~ make[1]: *** nsfs: No such file or directory. Stop. In file included from main.c:21: ../kselftest_harness.h:754:9: error: ‘is_signed_type’ redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-1/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /home/nipa/net-next/wt-1/tools/testing/selftests/../../../tools/include/linux/overflow.h:31:9: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /home/nipa/net-next/wt-1/build_tools/kselftest/sgx/main.o] Error 1 ====== Building the tree before the patch ====== make[1]: *** nsfs: No such file or directory. Stop. In file included from main.c:21: ../kselftest_harness.h:754:9: error: ‘is_signed_type’ redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-1/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /home/nipa/net-next/wt-1/tools/testing/selftests/../../../tools/include/linux/overflow.h:31:9: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /home/nipa/net-next/wt-1/build_tools/kselftest/sgx/main.o] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig ?? arch/x86/Makefile.rej ====== Building the tree with the patch ====== make[1]: *** nsfs: No such file or directory. Stop. In file included from main.c:21: ../kselftest_harness.h:754:9: error: ‘is_signed_type’ redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-1/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /home/nipa/net-next/wt-1/tools/testing/selftests/../../../tools/include/linux/overflow.h:31:9: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /home/nipa/net-next/wt-1/build_tools/kselftest/sgx/main.o] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig ?? arch/x86/Makefile.rej