====== 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.c:12: In function ‘_test_ioctl_ioas_map_file’, inlined from ‘iommufd_mock_domain_all_aligns’ at iommufd.c:1772:5, inlined from ‘wrapper_iommufd_mock_domain_all_aligns’ at iommufd.c:1740:1: iommufd_utils.h:675:36: warning: ‘mfd’ may be used uninitialized [-Wmaybe-uninitialized] 675 | struct iommu_ioas_map_file cmd = { | ^~~ iommufd.c: In function ‘wrapper_iommufd_mock_domain_all_aligns’: iommufd.c:1749:13: note: ‘mfd’ was declared here 1749 | int mfd; | ^~~ In function ‘_test_ioctl_ioas_map_file’, inlined from ‘iommufd_mock_domain_all_aligns_copy’ at iommufd.c:1826:5, inlined from ‘wrapper_iommufd_mock_domain_all_aligns_copy’ at iommufd.c:1792:1: iommufd_utils.h:675:36: warning: ‘mfd’ may be used uninitialized [-Wmaybe-uninitialized] 675 | struct iommu_ioas_map_file cmd = { | ^~~ iommufd.c: In function ‘wrapper_iommufd_mock_domain_all_aligns_copy’: iommufd.c:1801:13: note: ‘mfd’ was declared here 1801 | int mfd; | ^~~ In file included from iommufd_utils.h:11: In function ‘_test_cmd_get_hw_info’, inlined from ‘iommufd_ioas_get_hw_info’ at iommufd.c:779:3, inlined from ‘wrapper_iommufd_ioas_get_hw_info’ at iommufd.c:752:1: iommufd_utils.h:804: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=] 804 | assert(!info->flags); | ~~~~^~~~~~~ iommufd.c: In function ‘wrapper_iommufd_ioas_get_hw_info’: iommufd.c:761:11: note: object ‘buffer_smaller’ of size 4 761 | } 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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/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-0/build_tools/kselftest/sgx/main.o] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig ?? arch/x86/Makefile.rej