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 ../drivers/phy/broadcom/phy-bcm-ns-usb3.c:206:17: warning: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Wvoid-pointer-to-enum-cast] 206 | usb3->family = (enum bcm_ns_family)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../arch/x86/entry/common.c:211: warning: Function parameter or struct member 'regs' not described in 'do_int80_emulation' ../ipc/sem.c:647: warning: expecting prototype for perform_atomic_semop[_slow](). Prototype was for perform_atomic_semop_slow() instead ../arch/x86/events/intel/p4.c:1369:20: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1369 | unsigned int low, high; | ^ 1 warning generated. ../security/ipe/hooks.c:55: warning: Function parameter or struct member '__always_unused' not described in 'ipe_mmap_file' ../security/ipe/hooks.c:55: warning: Excess function parameter 'reqprot' description in 'ipe_mmap_file' ../security/ipe/hooks.c:83: warning: Function parameter or struct member '__always_unused' not described in 'ipe_file_mprotect' ../security/ipe/hooks.c:83: warning: Excess function parameter 'reqprot' description in 'ipe_file_mprotect' ../security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file ' ../security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = ' In file included from ../drivers/char/tpm/eventlog/common.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/char/tpm/eventlog/tpm1.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1517, line 778. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1469, line 778. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1469, line 778. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1573, line 778. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1601, line 778. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1611, line 778. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1611, line 778. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1612, line 778. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1614, line 778. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1615, line 778. ../security/landlock/fs.c:778: warning: Function parameter or struct member '' not described in 'is_access_to_paths_allowed' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1630, line 778. Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1517, line 778. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1469, line 778. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1469, line 778. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1573, line 778. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1601, line 778. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1611, line 778. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1630, line 778. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1791, line 778. Use of uninitialized value $parameterlist[6] in join or string at ../scripts/kernel-doc line 1791, line 778. ../security/landlock/fs.c:778: warning: Excess function parameter 'layer_masks_parent1' description in 'is_access_to_paths_allowed' ../security/landlock/fs.c:778: warning: Excess function parameter 'layer_masks_parent2' description in 'is_access_to_paths_allowed' Use of uninitialized value $param in regexp compilation at ../scripts/kernel-doc line 1517, line 1010. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1469, line 1010. Use of uninitialized value $actual in substitution (s///) at ../scripts/kernel-doc line 1469, line 1010. Use of uninitialized value $param in substitution (s///) at ../scripts/kernel-doc line 1573, line 1010. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1601, line 1010. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1611, line 1010. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1611, line 1010. Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1612, line 1010. Use of uninitialized value $param in pattern match (m//) at ../scripts/kernel-doc line 1614, line 1010. Use of uninitialized value $param in concatenation (.) or string at ../scripts/kernel-doc line 1615, line 1010. ../security/landlock/fs.c:1010: warning: Function parameter or struct member '' not described in 'collect_domain_accesses' Use of uninitialized value $param in hash element at ../scripts/kernel-doc line 1630, line 1010. Use of uninitialized value $parameterlist[3] in join or string at ../scripts/kernel-doc line 1791, line 1010. ../security/landlock/fs.c:1010: warning: Excess function parameter 'layer_masks_dom' description in 'collect_domain_accesses' In file included from ../drivers/char/tpm/eventlog/tpm2.c:20: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. ../kernel/reboot.c:234: warning: Function parameter or struct member 'cmd' not described in 'do_kernel_restart' ../kernel/reboot.c:965: warning: Function parameter or struct member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' In file included from ../drivers/char/tpm/eventlog/acpi.c:24: ../include/linux/tpm_eventlog.h:167:6: warning: variable 'mapping_size' set but not used [-Wunused-but-set-variable] 167 | int mapping_size; | ^ 1 warning generated. In file included from ../drivers/nfc/pn533/pn533.c:9: In file included from ../include/linux/device.h:15: In file included from ../include/linux/dev_printk.h:16: In file included from ../include/linux/ratelimit.h:6: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../net/ipv4/tcp_output.c:187:3: warning: result of comparison of constant -1 with expression of type 'u8' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] 187 | NET_ADD_STATS(sock_net(sk), LINUX_MIB_TCPACKCOMPRESSED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | tp->compressed_ack); | ~~~~~~~~~~~~~~~~~~~ ../include/net/ip.h:305:41: note: expanded from macro 'NET_ADD_STATS' 305 | #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/snmp.h:143:4: note: expanded from macro 'SNMP_ADD_STATS' 143 | this_cpu_add(mib->mibs[field], addend) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/percpu-defs.h:497:33: note: expanded from macro 'this_cpu_add' 497 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) :147:1: note: expanded from here 147 | this_cpu_add_8 | ^ ../arch/x86/include/asm/percpu.h:558:36: note: expanded from macro 'this_cpu_add_8' 558 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../arch/x86/include/asm/percpu.h:238:31: note: expanded from macro 'percpu_add_op' 238 | ((val) == 1 || (val) == -1)) ? \ | ~~~~~ ^ ~~ 1 warning generated. ../arch/x86/kernel/process.c:954:10: warning: variable 'hi' set but not used [-Wunused-but-set-variable] 954 | u32 lo, hi; | ^ 1 warning generated. ../drivers/block/rbd.c:6093:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6093 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6094 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../kernel/sched/core.c:6378:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6378 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6379 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6380 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6381 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:371:65: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 371 | #define DEFINE_LOCK_GUARD_1(_name, _type, _lock, _unlock, ...) \ | ^ 372 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:348:21: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 348 | static inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :4:1: note: expanded from here 4 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'zone' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'gfp_mask' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'safe_needed' not described in 'add_rtree_block' ../kernel/power/snapshot.c:470: warning: Function parameter or struct member 'ca' not described in 'add_rtree_block' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'gfp_mask' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'safe_needed' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'ca' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'start' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:543: warning: Function parameter or struct member 'end' not described in 'create_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'zone' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:578: warning: Function parameter or struct member 'clear_nosave_free' not described in 'free_zone_bm_rtree' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'bm' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'gfp_mask' not described in 'memory_bm_create' ../kernel/power/snapshot.c:686: warning: Function parameter or struct member 'safe_needed' not described in 'memory_bm_create' ../kernel/power/snapshot.c:728: warning: Function parameter or struct member 'clear_nosave_free' not described in 'memory_bm_free' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bm' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'pfn' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'addr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:750: warning: Function parameter or struct member 'bit_nr' not described in 'memory_bm_find_bit' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'start_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:998: warning: Function parameter or struct member 'end_pfn' not described in 'register_nosave_region' ../kernel/power/snapshot.c:1322: warning: Function parameter or struct member 'zone' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1322: warning: Function parameter or struct member 'pfn' not described in 'saveable_highmem_page' ../kernel/power/snapshot.c:1381: warning: Function parameter or struct member 'zone' not described in 'saveable_page' ../kernel/power/snapshot.c:1381: warning: Function parameter or struct member 'pfn' not described in 'saveable_page' ../kernel/power/snapshot.c:1458: warning: Function parameter or struct member 'dst' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1458: warning: Function parameter or struct member 's_page' not described in 'safe_copy_page' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'x' not described in '__fraction' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'multiplier' not described in '__fraction' ../kernel/power/snapshot.c:1699: warning: Function parameter or struct member 'base' not described in '__fraction' ../kernel/power/snapshot.c:1997: warning: Function parameter or struct member 'nr_highmem' not described in 'count_pages_for_highmem' ../kernel/power/snapshot.c:2015: warning: Function parameter or struct member 'nr_pages' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2015: warning: Function parameter or struct member 'nr_highmem' not described in 'enough_free_mem' ../kernel/power/snapshot.c:2038: warning: Function parameter or struct member 'safe_needed' not described in 'get_highmem_buffer' ../kernel/power/snapshot.c:2051: warning: Function parameter or struct member 'bm' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2051: warning: Function parameter or struct member 'nr_highmem' not described in 'alloc_highmem_pages' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'copy_bm' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'nr_pages' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2086: warning: Function parameter or struct member 'nr_highmem' not described in 'swsusp_alloc' ../kernel/power/snapshot.c:2308: warning: Function parameter or struct member 'bm' not described in 'mark_unsafe_pages' ../kernel/power/snapshot.c:2343: warning: Function parameter or struct member 'info' not described in 'load_header' ../kernel/power/snapshot.c:2512: warning: Function parameter or struct member 'page' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2512: warning: Function parameter or struct member 'ca' not described in 'get_highmem_page_buffer' ../kernel/power/snapshot.c:2722: warning: Function parameter or struct member 'bm' not described in 'get_buffer' ../kernel/power/snapshot.c:2722: warning: Function parameter or struct member 'ca' not described in 'get_buffer' ../kernel/power/snapshot.c:2861: warning: Function parameter or struct member 'handle' not described in 'snapshot_write_finalize' ../drivers/block/drbd/drbd_bitmap.c:1220: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_read' ../drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write' ../drivers/block/drbd/drbd_bitmap.c:1244: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_all' ../drivers/block/drbd/drbd_bitmap.c:1271: warning: Function parameter or struct member 'peer_device' not described in 'drbd_bm_write_copy_pages' ../arch/x86/kernel/cpu/common.c:351:19: warning: unused function 'flag_is_changeable_p' [-Wunused-function] 351 | static inline int flag_is_changeable_p(u32 flag) | ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../kernel/sched/fair.c:526:19: warning: unused function 'max_vruntime' [-Wunused-function] 526 | static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) | ^~~~~~~~~~~~ 1 warning generated. ../arch/x86/kernel/cpu/intel.c:574:20: warning: variable 'l2' set but not used [-Wunused-but-set-variable] 574 | unsigned int l1, l2; | ^ 1 warning generated. ../drivers/gpu/drm/scheduler/sched_main.c:411: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done' ../kernel/time/hrtimer.c:121:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 121 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:119:27: note: previous initialization is here 119 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:122:22: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 122 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:119:27: note: previous initialization is here 119 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:123:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 123 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:119:27: note: previous initialization is here 119 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:124:17: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 124 | [CLOCK_TAI] = HRTIMER_BASE_TAI, | ^~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:119:27: note: previous initialization is here 119 | [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/time/hrtimer.c:148:20: warning: unused function 'is_migration_base' [-Wunused-function] 148 | static inline bool is_migration_base(struct hrtimer_clock_base *base) | ^~~~~~~~~~~~~~~~~ 5 warnings generated. ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. ../arch/x86/kernel/apic/apic.c:2143: warning: Function parameter or struct member 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ' ../arch/x86/kernel/apic/apic.c:2143: warning: expecting prototype for spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead ../drivers/watchdog/pcwd_usb.c:586: warning: Function parameter or struct member 'usb_pcwd' not described in 'usb_pcwd_delete' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:601: warning: Function parameter or struct member 'id' not described in 'usb_pcwd_probe' ../drivers/watchdog/pcwd_usb.c:770: warning: Function parameter or struct member 'interface' not described in 'usb_pcwd_disconnect' ../drivers/cpufreq/amd-pstate.c:1778: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * CPPC function is not supported for family ID 17H with model_ID ranging from 0x10 to 0x2F. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/qla2xxx/qla_isr.c:3891: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/lpfc/lpfc_bsg.c:2806:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2806 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. ../kernel/kprobes.c:145: warning: Function parameter or struct member 'c' not described in '__get_insn_slot' In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:80: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/hid/hid-debug.c:3412:15: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 3412 | [BTN_DIGI] = "Digi", [BTN_STYLUS3] = "Stylus3", | ^~~~~~ ../drivers/hid/hid-debug.c:3294:19: note: previous initialization is here 3294 | [BTN_TOOL_PEN] = "ToolPen", [BTN_TOOL_RUBBER] = "ToolRubber", | ^~~~~~~~~ ../drivers/hid/hid-debug.c:3413:54: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 3413 | [BTN_TOOL_QUINTTAP] = "ToolQuintTap", [BTN_WHEEL] = "Wheel", | ^~~~~~~ ../drivers/hid/hid-debug.c:3301:20: note: previous initialization is here 3301 | [BTN_GEAR_DOWN] = "WheelBtn", | ^~~~~~~~~~ ../drivers/hid/hid-debug.c:3417:56: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 3417 | [KEY_ALS_TOGGLE] = "ALSToggle", [KEY_ASPECT_RATIO] = "AspectRatio", | ^~~~~~~~~~~~~ ../drivers/hid/hid-debug.c:3314:17: note: previous initialization is here 3314 | [KEY_SCREEN] = "Screen", [KEY_PC] = "PC", | ^~~~~~~~ ../drivers/hid/hid-debug.c:3441:59: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 3441 | [KEY_FRAMEFORWARD] = "FrameForward", [KEY_FULL_SCREEN] = "FullScreen", | ^~~~~~~~~~~~ ../drivers/hid/hid-debug.c:3312:40: note: previous initialization is here 3312 | [KEY_ANGLE] = "Angle", [KEY_ZOOM] = "Zoom", | ^~~~~~ ../drivers/hid/hid-debug.c:3443:18: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 3443 | [KEY_HANGEUL] = "HanGeul", [KEY_HANGUP_PHONE] = "HangUpPhone", | ^~~~~~~~~ ../drivers/hid/hid-debug.c:3217:18: note: previous initialization is here 3217 | [KEY_HANGUEL] = "Hangeul", [KEY_HANJA] = "Hanja", | ^~~~~~~~~ 5 warnings generated. ../drivers/net/ethernet/broadcom/bcmsysport.c:49:1: warning: unused function 'txchk_readl' [-Wunused-function] 49 | BCM_SYSPORT_IO_MACRO(txchk, SYS_PORT_TXCHK_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:32:19: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 32 | static inline u32 name##_readl(struct bcm_sysport_priv *priv, u32 off) \ | ^~~~~~~~~~~~ :167:1: note: expanded from here 167 | txchk_readl | ^~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:49:1: warning: unused function 'txchk_writel' [-Wunused-function] 49 | BCM_SYSPORT_IO_MACRO(txchk, SYS_PORT_TXCHK_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:37:20: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 37 | static inline void name##_writel(struct bcm_sysport_priv *priv, \ | ^~~~~~~~~~~~~ :168:1: note: expanded from here 168 | txchk_writel | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:51:1: warning: unused function 'tbuf_readl' [-Wunused-function] 51 | BCM_SYSPORT_IO_MACRO(tbuf, SYS_PORT_TBUF_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:32:19: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 32 | static inline u32 name##_readl(struct bcm_sysport_priv *priv, u32 off) \ | ^~~~~~~~~~~~ :171:1: note: expanded from here 171 | tbuf_readl | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:51:1: warning: unused function 'tbuf_writel' [-Wunused-function] 51 | BCM_SYSPORT_IO_MACRO(tbuf, SYS_PORT_TBUF_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:37:20: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 37 | static inline void name##_writel(struct bcm_sysport_priv *priv, \ | ^~~~~~~~~~~~~ :172:1: note: expanded from here 172 | tbuf_writel | ^~~~~~~~~~~ 4 warnings generated. ../drivers/net/wireless/realtek/rtw89/coex.c:6323:23: warning: variable 'cnt_2g' set but not used [-Wunused-but-set-variable] 6323 | u8 i, mode, cnt = 0, cnt_2g = 0, cnt_5g = 0, phy_now = RTW89_PHY_MAX, phy_dbcc; | ^ ../drivers/net/wireless/realtek/rtw89/coex.c:6323:35: warning: variable 'cnt_5g' set but not used [-Wunused-but-set-variable] 6323 | u8 i, mode, cnt = 0, cnt_2g = 0, cnt_5g = 0, phy_now = RTW89_PHY_MAX, phy_dbcc; | ^ 2 warnings generated. In file included from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:80: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1937:13: warning: variable 'drop_cnt' set but not used [-Wunused-but-set-variable] 1937 | static u32 drop_cnt; | ^ In file included from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:17: In file included from ../include/linux/sched/signal.h:5: In file included from ../include/linux/rculist.h:11: In file included from ../include/linux/rcupdate.h:26: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:80: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 2 warnings generated. ../drivers/staging/rtl8723bs/hal/hal_com.c:963:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] 963 | u32 res, i = 0; | ^ 1 warning generated. ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'file' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'cmd' not described in 'binder_ctl_ioctl' ../drivers/android/binderfs.c:236: warning: Function parameter or struct member 'arg' not described in 'binder_ctl_ioctl' ../drivers/android/binder.c:1976: warning: Function parameter or struct member 'file' not described in 'binder_task_work_cb' ../drivers/android/binder.c:1976: warning: Excess struct member 'fd' description in 'binder_task_work_cb' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'offset' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'skip_size' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'fixup_data' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2427: warning: Function parameter or struct member 'node' not described in 'binder_ptr_fixup' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'offset' not described in 'binder_sg_copy' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'sender_uaddr' not described in 'binder_sg_copy' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'length' not described in 'binder_sg_copy' ../drivers/android/binder.c:2447: warning: Function parameter or struct member 'node' not described in 'binder_sg_copy' ../drivers/android/binder.c:4010: warning: Function parameter or struct member 'thread' not described in 'binder_free_buf' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'ack' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:122: warning: Function parameter or struct member 'acked' not described in 'tcp_lp_cong_avoid' ../net/ipv4/tcp_lp.c:272: warning: Function parameter or struct member 'sample' not described in 'tcp_lp_pkts_acked' In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/nvdimm/core.c:221: warning: Function parameter or struct member 'len' not described in 'nd_uuid_store' ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. ../drivers/perf/arm_cspmu/ampere_cspmu.c:35:1: warning: unused function 'get_event' [-Wunused-function] 35 | SOC_PMU_EVENT_ATTR_EXTRACTOR(event, config, 0, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/perf/arm_cspmu/ampere_cspmu.c:29:20: note: expanded from macro 'SOC_PMU_EVENT_ATTR_EXTRACTOR' 29 | static inline u32 get_##_name(const struct perf_event *event) \ | ^~~~~~~~~~~ :11:1: note: expanded from here 11 | get_event | ^~~~~~~~~ 1 warning generated. ../drivers/net/ethernet/natsemi/ns83820.c:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 1 warning generated. ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/hid/hid-logitech-hidpp.c:179: warning: Excess struct member 'dev' description in 'hidpp_scroll_counter' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Function parameter or struct member 'as' not described in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots_lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'alloc_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'faulty_mask' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'slots' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lru_list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'lock' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'list' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'reset_in_progress' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:102: warning: Excess struct member 'wq' description in 'panthor_mmu' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'count' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'ptr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'page' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'addr' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'range' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'vm_bo' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'bo_offset' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'sgt' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:217: warning: Excess struct member 'new_vma' description in 'panthor_vm_op_ctx' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'start' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'size' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'id' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'active_cnt' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lru_node' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'pool' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:389: warning: Excess struct member 'lock' description in 'panthor_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:412: warning: Cannot understand * @pt_cache: Cache used to allocate MMU page tables. on line 412 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:481: warning: Cannot understand * @free_pt() - Custom page table free function on line 481 - I thought it was a doc line ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:707: warning: Excess function parameter 'VM' description in 'panthor_vm_active' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:816: warning: Excess function parameter 'VM' description in 'panthor_vm_idle' ../drivers/gpu/drm/panthor/panthor_mmu.c:1027: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1027: warning: Excess function parameter 'VM' description in 'panthor_vm_alloc_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1059: warning: Function parameter or struct member 'vm' not described in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1059: warning: Excess function parameter 'VM' description in 'panthor_vm_free_va' ../drivers/gpu/drm/panthor/panthor_mmu.c:1493: warning: Function parameter or struct member 'ptdev' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1493: warning: Function parameter or struct member 'args' not described in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1493: warning: Excess function parameter 'kernel_va_start' description in 'panthor_vm_pool_create_vm' ../drivers/gpu/drm/panthor/panthor_mmu.c:1493: warning: Excess function parameter 'kernel_va_range' description in 'panthor_vm_pool_create_vm' In file included from ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c:9: In file included from ../include/linux/delay.h:23: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c:8: In file included from ../include/linux/delay.h:23: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/caif/caif_serial.c:130:20: warning: unused function 'debugfs_tx' [-Wunused-function] 130 | static inline void debugfs_tx(struct ser_device *ser, const u8 *data, int size) | ^~~~~~~~~~ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/ti/cpsw_ale.c:241:1: warning: unused function 'cpsw_ale_get_mcast_state' [-Wunused-function] 241 | DEFINE_ALE_FIELD(mcast_state, 62, 2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:166:19: note: expanded from macro 'DEFINE_ALE_FIELD' 166 | static inline int cpsw_ale_get_##name(u32 *ale_entry) \ | ^~~~~~~~~~~~~~~~~~~ :196:1: note: expanded from here 196 | cpsw_ale_get_mcast_state | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:245:1: warning: unused function 'cpsw_ale_get_port_num' [-Wunused-function] 245 | DEFINE_ALE_FIELD1(port_num, 66) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:176:19: note: expanded from macro 'DEFINE_ALE_FIELD1' 176 | static inline int cpsw_ale_get_##name(u32 *ale_entry, u32 bits) \ | ^~~~~~~~~~~~~~~~~~~ :204:1: note: expanded from here 204 | cpsw_ale_get_port_num | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:246:1: warning: unused function 'cpsw_ale_get_blocked' [-Wunused-function] 246 | DEFINE_ALE_FIELD(blocked, 65, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:166:19: note: expanded from macro 'DEFINE_ALE_FIELD' 166 | static inline int cpsw_ale_get_##name(u32 *ale_entry) \ | ^~~~~~~~~~~~~~~~~~~ :206:1: note: expanded from here 206 | cpsw_ale_get_blocked | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:247:1: warning: unused function 'cpsw_ale_get_secure' [-Wunused-function] 247 | DEFINE_ALE_FIELD(secure, 64, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:166:19: note: expanded from macro 'DEFINE_ALE_FIELD' 166 | static inline int cpsw_ale_get_##name(u32 *ale_entry) \ | ^~~~~~~~~~~~~~~~~~~ :208:1: note: expanded from here 208 | cpsw_ale_get_secure | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:248:1: warning: unused function 'cpsw_ale_set_mcast' [-Wunused-function] 248 | DEFINE_ALE_FIELD(mcast, 40, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:170:20: note: expanded from macro 'DEFINE_ALE_FIELD' 170 | static inline void cpsw_ale_set_##name(u32 *ale_entry, u32 value) \ | ^~~~~~~~~~~~~~~~~~~ :211:1: note: expanded from here 211 | cpsw_ale_set_mcast | ^~~~~~~~~~~~~~~~~~ 5 warnings generated. ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../fs/gfs2/glock.c:1277: warning: Function parameter or struct member 'ip' not described in '__gfs2_holder_init' ../fs/ceph/snap.c:377:10: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 377 | if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/most/most_usb.c:69: warning: Function parameter or struct member 'dev' not described in 'most_dci_obj' ../drivers/most/most_usb.c:69: warning: Excess struct member 'kobj' description in 'most_dci_obj' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'dev' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'clear_work' not described in 'most_dev' ../drivers/most/most_usb.c:122: warning: Function parameter or struct member 'on_netinfo' not described in 'most_dev' ../drivers/most/most_usb.c:650: warning: Function parameter or struct member 'on_netinfo' not described in 'hdm_request_netinfo' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' 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 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