tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files In file included from ../scripts/mod/packed_fields.c:15: ../scripts/mod/packed_fields.c: In function ‘handle_packed_field_symbol’: ../scripts/mod/packed_fields.c:134:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Elf64_Xword’ {aka ‘long unsigned int’} [-Wformat=] 134 | error("[%s.ko] \"%s\" has size %u which is not a multiple of the field size (%zu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | mod->name, symname, sym->st_size, field_size); | ~~~~~~~~~~~~ | | | Elf64_Xword {aka long unsigned int} ../scripts/mod/modpost.h:207:51: note: in definition of macro ‘error’ 207 | #define error(fmt, args...) modpost_log(true, fmt, ##args) | ^~~ ../scripts/mod/packed_fields.c:134:49: note: format string is defined here 134 | error("[%s.ko] \"%s\" has size %u which is not a multiple of the field size (%zu)\n", | ~^ | | | unsigned int | %lu ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.lltqqsCmro 2024-11-11 01:21:57.549121063 -0800 +++ /tmp/tmp.AJeC1NuBfW 2024-11-11 01:24:43.632506347 -0800 @@ -3,0 +4,18 @@ +In file included from ../scripts/mod/packed_fields.c:15: +../scripts/mod/packed_fields.c: In function ‘handle_packed_field_symbol’: +../scripts/mod/packed_fields.c:134:23: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Elf64_Xword’ {aka ‘long unsigned int’} [-Wformat=] + 134 | error("[%s.ko] \"%s\" has size %u which is not a multiple of the field size (%zu)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 135 | mod->name, symname, sym->st_size, field_size); + | ~~~~~~~~~~~~ + | | + | Elf64_Xword {aka long unsigned int} +../scripts/mod/modpost.h:207:51: note: in definition of macro ‘error’ + 207 | #define error(fmt, args...) modpost_log(true, fmt, ##args) + | ^~~ +../scripts/mod/packed_fields.c:134:49: note: format string is defined here + 134 | error("[%s.ko] \"%s\" has size %u which is not a multiple of the field size (%zu)\n", + | ~^ + | | + | unsigned int + | %lu Per-file breakdown --- /tmp/tmp.MuK649MZsP 2024-11-11 01:24:43.642506251 -0800 +++ /tmp/tmp.H64ACL5T9v 2024-11-11 01:24:43.645506222 -0800 @@ -3,0 +4,2 @@ + 1 ../scripts/mod/modpost.h + 1 ../scripts/mod/packed_fields.c