In file included from ../include/linux/string.h:382, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid/api.h:57, from ../arch/x86/include/asm/processor.h:19, from ../include/linux/sched.h:13, from ../include/linux/ratelimit.h:6, from ../include/linux/dev_printk.h:16, from ../include/linux/device.h:15, from ../drivers/nfc/pn533/pn533.c:9: In function ‘fortify_memcpy_chk’, inlined from ‘pn533_target_found_felica’ at ../drivers/nfc/pn533/pn533.c:781:2: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/nfc/pn533/pn533.c:117:39: warning: incorrect type in initializer (different base types) ../drivers/nfc/pn533/pn533.c:117:39: expected restricted __be16 [usertype] sc ../drivers/nfc/pn533/pn533.c:117:39: got int ../drivers/nfc/pn533/pn533.c:130:39: warning: incorrect type in initializer (different base types) ../drivers/nfc/pn533/pn533.c:130:39: expected restricted __be16 [usertype] sc ../drivers/nfc/pn533/pn533.c:130:39: got int ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894: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/msm/msm.o: warning: objtool: submit_lock_objects+0x44d: sibling call from callable instruction with modified stack frame ../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:434:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894: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/msm/msm.o: warning: objtool: submit_lock_objects+0x44d: sibling call from callable instruction with modified stack frame ../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:434:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?