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. ../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. 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. ../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' ../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:306:41: note: expanded from macro 'NET_ADD_STATS' 306 | #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) :68:1: note: expanded from here 68 | 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. ../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. ../kernel/sched/core.c:6372:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6372 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6373 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6374 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6375 | 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. 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. 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' ../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) \ | ^~~~~~~~~~~~ :206:1: note: expanded from here 206 | 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, \ | ^~~~~~~~~~~~~ :207:1: note: expanded from here 207 | 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) \ | ^~~~~~~~~~~~ :210:1: note: expanded from here 210 | 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, \ | ^~~~~~~~~~~~~ :211:1: note: expanded from here 211 | 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. ../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. 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. 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. 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/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. 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/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/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. ../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. ../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/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/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/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/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. ../net/ceph/osdmap.c:1441:10: warning: result of comparison of constant 4611686018427387891 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1441 | if (len > (SIZE_MAX - sizeof(*pg)) / sizeof(u32)) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ceph/osdmap.c:1624:10: warning: result of comparison of constant 2305843009213693945 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 1624 | if (len > (SIZE_MAX - sizeof(*pg)) / (2 * sizeof(u32))) | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings 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. ../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. 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. 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. ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../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. ../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' ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.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 ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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/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 ../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. ../net/ethtool/ioctl.c:143:15: warning: shift count >= width of type [-Wshift-count-overflow] 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:196:32: note: expanded from macro 'NETIF_F_ETHTOOL_BITS' 196 | #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^ ~~~~~ ../net/ethtool/ioctl.c:143:15: warning: shift count >= width of type [-Wshift-count-overflow] 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) | ^~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:197:4: note: expanded from macro 'NETIF_F_ETHTOOL_BITS' 197 | (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^ ~~~~~ ../net/ethtool/ioctl.c:94:2: error: call to '__compiletime_assert_1771' declared with 'error' attribute: BUILD_BUG_ON failed: ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t) 94 | BUILD_BUG_ON(ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t)); | ^ ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :5:1: note: expanded from here 5 | __compiletime_assert_1771 | ^ 2 warnings and 1 error generated. make[5]: *** [../scripts/Makefile.build:229: net/ethtool/ioctl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../net/core/sock.c:91: In file included from ../include/linux/errqueue.h:6: In file included from ../include/net/ip.h:29: In file included from ../include/net/inet_sock.h:19: ../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^ ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :32:1: note: expanded from here 32 | __compiletime_assert_1369 | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: net/core/sock.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:478: net/ethtool] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/core/skbuff.c:45: In file included from ../include/linux/tcp.h:19: In file included from ../include/net/sock.h:46: ../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^ ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :39:1: note: expanded from here 39 | __compiletime_assert_1369 | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 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:306:41: note: expanded from macro 'NET_ADD_STATS' 306 | #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) :68:1: note: expanded from here 68 | 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. ../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/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' ../net/dsa/tag_ksz.c:299:22: warning: shift count >= width of type [-Wshift-count-overflow] 299 | if (dev->features & NETIF_F_HW_HSR_DUP) { | ^~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^ ~~~~~ 1 warning generated. net/dsa/tag_ksz.o: warning: objtool: ksz9477_xmit() falls through to next function __cfi_ksz9477_rcv() In file included from ../net/ipv4/tcp_offload.c:11: In file included from ../include/net/gro.h:8: In file included from ../include/linux/ipv6.h:102: In file included from ../include/linux/tcp.h:19: In file included from ../include/net/sock.h:46: ../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^ ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :54:1: note: expanded from here 54 | __compiletime_assert_1369 | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: net/ipv4/tcp_offload.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/dsa/microchip/ksz9477.c:1283:20: warning: shift count >= width of type [-Wshift-count-overflow] 1283 | user->features |= KSZ9477_SUPPORTED_HSR_FEATURES; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/microchip/ksz9477.c:1245:41: note: expanded from macro 'KSZ9477_SUPPORTED_HSR_FEATURES' 1245 | #define KSZ9477_SUPPORTED_HSR_FEATURES (NETIF_F_HW_HSR_DUP | NETIF_F_HW_HSR_FWD) | ^~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^ ~~~~~ 1 warning generated. In file included from ../net/ipv4/udp_offload.c:10: In file included from ../include/net/gro.h:8: In file included from ../include/linux/ipv6.h:102: In file included from ../include/linux/tcp.h:19: In file included from ../include/net/sock.h:46: ../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^ ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :67:1: note: expanded from here 67 | __compiletime_assert_1369 | ^ In file included from ../net/ipv4/udp_offload.c:10: In file included from ../include/net/gro.h:8: In file included from ../include/linux/ipv6.h:102: In file included from ../include/linux/tcp.h:19: In file included from ../include/net/sock.h:46: ../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :67:1: note: expanded from here 67 | __compiletime_assert_1369 | ^ 2 errors generated. make[5]: *** [../scripts/Makefile.build:229: net/ipv4/udp_offload.o] Error 1 ../drivers/net/dsa/xrs700x/xrs700x.c:654:21: warning: shift count >= width of type [-Wshift-count-overflow] 654 | user->features |= XRS7000X_SUPPORTED_HSR_FEATURES; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/xrs700x/xrs700x.c:20:24: note: expanded from macro 'XRS7000X_SUPPORTED_HSR_FEATURES' 20 | NETIF_F_HW_HSR_FWD | NETIF_F_HW_HSR_DUP) | ^~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^ ~~~~~ ../drivers/net/dsa/xrs700x/xrs700x.c:708:22: warning: shift count >= width of type [-Wshift-count-overflow] 708 | user->features &= ~XRS7000X_SUPPORTED_HSR_FEATURES; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/dsa/xrs700x/xrs700x.c:20:24: note: expanded from macro 'XRS7000X_SUPPORTED_HSR_FEATURES' 20 | NETIF_F_HW_HSR_FWD | NETIF_F_HW_HSR_DUP) | ^~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) | ^ ~~~~~ 2 warnings generated. ../kernel/sched/core.c:6372:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6372 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6373 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6374 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6375 | 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. make[4]: *** [../scripts/Makefile.build:478: net/ipv4] Error 2 ../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. 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. 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' ../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) \ | ^~~~~~~~~~~~ :206:1: note: expanded from here 206 | 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, \ | ^~~~~~~~~~~~~ :207:1: note: expanded from here 207 | 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) \ | ^~~~~~~~~~~~ :210:1: note: expanded from here 210 | 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, \ | ^~~~~~~~~~~~~ :211:1: note: expanded from here 211 | tbuf_writel | ^~~~~~~~~~~ 4 warnings generated. 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. In file included from ../drivers/net/tap.c:2: In file included from ../include/linux/etherdevice.h:21: ../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1332' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); | ^ ../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^ ../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ ./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' 505 | __compiletime_assert(condition, msg, prefix, suffix) | ^ ./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' 498 | prefix ## suffix(); \ | ^ :222:1: note: expanded from here 222 | __compiletime_assert_1332 | ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:229: drivers/net/tap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../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. 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/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. ../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. 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/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. ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch 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/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/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. ../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. ../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. 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/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_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/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. ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../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/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' ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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/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/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' make[3]: *** [../scripts/Makefile.build:478: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.elI8z8splI 2024-10-17 21:40:32.150538933 -0700 +++ /tmp/tmp.QNH2JHx1Ig 2024-10-17 21:45:03.867192027 -0700 @@ -8,6 +8,99 @@ -../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. +../net/ethtool/ioctl.c:143:15: warning: shift count >= width of type [-Wshift-count-overflow] + 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:196:32: note: expanded from macro 'NETIF_F_ETHTOOL_BITS' + 196 | #define NETIF_F_ETHTOOL_BITS ((__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' + 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) + | ^ ~~~~~ +../net/ethtool/ioctl.c:143:15: warning: shift count >= width of type [-Wshift-count-overflow] + 143 | if (valid & ~NETIF_F_ETHTOOL_BITS) + | ^~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:197:4: note: expanded from macro 'NETIF_F_ETHTOOL_BITS' + 197 | (__NETIF_F_BIT(NETDEV_FEATURE_COUNT - 1) - 1)) & \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' + 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) + | ^ ~~~~~ +../net/ethtool/ioctl.c:94:2: error: call to '__compiletime_assert_1771' declared with 'error' attribute: BUILD_BUG_ON failed: ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t) + 94 | BUILD_BUG_ON(ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t)); + | ^ +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:5:1: note: expanded from here + 5 | __compiletime_assert_1771 + | ^ +2 warnings and 1 error generated. +make[5]: *** [../scripts/Makefile.build:229: net/ethtool/ioctl.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../net/core/sock.c:91: +In file included from ../include/linux/errqueue.h:6: +In file included from ../include/net/ip.h:29: +In file included from ../include/net/inet_sock.h:19: +../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); + | ^ +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:32:1: note: expanded from here + 32 | __compiletime_assert_1369 + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:229: net/core/sock.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:478: net/ethtool] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/core/skbuff.c:45: +In file included from ../include/linux/tcp.h:19: +In file included from ../include/net/sock.h:46: +../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); + | ^ +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:39:1: note: expanded from here + 39 | __compiletime_assert_1369 + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:229: net/core/skbuff.o] Error 1 +make[4]: *** [../scripts/Makefile.build:478: net/core] Error 2 @@ -29,4 +121,0 @@ -../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' @@ -58,3 +147,5 @@ -../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; - | ^ +../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)) { + | ~~~~~~~~~~~~~~ @@ -61,0 +153,146 @@ +../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' +../net/dsa/tag_ksz.c:299:22: warning: shift count >= width of type [-Wshift-count-overflow] + 299 | if (dev->features & NETIF_F_HW_HSR_DUP) { + | ^~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' + 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' + 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' + 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) + | ^ ~~~~~ +1 warning generated. +net/dsa/tag_ksz.o: warning: objtool: ksz9477_xmit() falls through to next function __cfi_ksz9477_rcv() +In file included from ../net/ipv4/tcp_offload.c:11: +In file included from ../include/net/gro.h:8: +In file included from ../include/linux/ipv6.h:102: +In file included from ../include/linux/tcp.h:19: +In file included from ../include/net/sock.h:46: +../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); + | ^ +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:54:1: note: expanded from here + 54 | __compiletime_assert_1369 + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:229: net/ipv4/tcp_offload.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +../drivers/net/dsa/microchip/ksz9477.c:1283:20: warning: shift count >= width of type [-Wshift-count-overflow] + 1283 | user->features |= KSZ9477_SUPPORTED_HSR_FEATURES; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/dsa/microchip/ksz9477.c:1245:41: note: expanded from macro 'KSZ9477_SUPPORTED_HSR_FEATURES' + 1245 | #define KSZ9477_SUPPORTED_HSR_FEATURES (NETIF_F_HW_HSR_DUP | NETIF_F_HW_HSR_FWD) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' + 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' + 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' + 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) + | ^ ~~~~~ +1 warning generated. +In file included from ../net/ipv4/udp_offload.c:10: +In file included from ../include/net/gro.h:8: +In file included from ../include/linux/ipv6.h:102: +In file included from ../include/linux/tcp.h:19: +In file included from ../include/net/sock.h:46: +../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); + | ^ +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:67:1: note: expanded from here + 67 | __compiletime_assert_1369 + | ^ +In file included from ../net/ipv4/udp_offload.c:10: +In file included from ../include/net/gro.h:8: +In file included from ../include/linux/ipv6.h:102: +In file included from ../include/linux/tcp.h:19: +In file included from ../include/net/sock.h:46: +../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1369' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:67:1: note: expanded from here + 67 | __compiletime_assert_1369 + | ^ +2 errors generated. +make[5]: *** [../scripts/Makefile.build:229: net/ipv4/udp_offload.o] Error 1 +../drivers/net/dsa/xrs700x/xrs700x.c:654:21: warning: shift count >= width of type [-Wshift-count-overflow] + 654 | user->features |= XRS7000X_SUPPORTED_HSR_FEATURES; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/dsa/xrs700x/xrs700x.c:20:24: note: expanded from macro 'XRS7000X_SUPPORTED_HSR_FEATURES' + 20 | NETIF_F_HW_HSR_FWD | NETIF_F_HW_HSR_DUP) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' + 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' + 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' + 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) + | ^ ~~~~~ +../drivers/net/dsa/xrs700x/xrs700x.c:708:22: warning: shift count >= width of type [-Wshift-count-overflow] + 708 | user->features &= ~XRS7000X_SUPPORTED_HSR_FEATURES; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/dsa/xrs700x/xrs700x.c:20:24: note: expanded from macro 'XRS7000X_SUPPORTED_HSR_FEATURES' + 20 | NETIF_F_HW_HSR_FWD | NETIF_F_HW_HSR_DUP) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:168:28: note: expanded from macro 'NETIF_F_HW_HSR_DUP' + 168 | #define NETIF_F_HW_HSR_DUP __NETIF_F(HW_HSR_DUP) + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:106:26: note: expanded from macro '__NETIF_F' + 106 | #define __NETIF_F(name) __NETIF_F_BIT(NETIF_F_##name##_BIT) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/netdev_features.h:105:50: note: expanded from macro '__NETIF_F_BIT' + 105 | #define __NETIF_F_BIT(bit) ((netdev_features_t)1 << (bit)) + | ^ ~~~~~ +2 warnings generated. @@ -83,0 +321,5 @@ +make[4]: *** [../scripts/Makefile.build:478: net/ipv4] Error 2 +../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. @@ -157,11 +398,0 @@ -../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. -../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. @@ -182,4 +413,58 @@ -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 ../drivers/net/tap.c:2: +In file included from ../include/linux/etherdevice.h:21: +../include/linux/netdevice.h:5053:2: error: call to '__compiletime_assert_1332' declared with 'error' attribute: BUILD_BUG_ON failed: SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT) + 5053 | BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); + | ^ +../include/linux/build_bug.h:50:2: note: expanded from macro 'BUILD_BUG_ON' + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^ +../include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^ +./../include/linux/compiler_types.h:517:2: note: expanded from macro 'compiletime_assert' + 517 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^ +./../include/linux/compiler_types.h:505:2: note: expanded from macro '_compiletime_assert' + 505 | __compiletime_assert(condition, msg, prefix, suffix) + | ^ +./../include/linux/compiler_types.h:498:4: note: expanded from macro '__compiletime_assert' + 498 | prefix ## suffix(); \ + | ^ +:222:1: note: expanded from here + 222 | __compiletime_assert_1332 + | ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:229: drivers/net/tap.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +../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. +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: @@ -189,0 +475,11 @@ +2 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. +../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; + | ^ @@ -208,10 +504,4 @@ -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 ../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: @@ -222,0 +513 @@ +../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch @@ -265,23 +555,0 @@ -../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. -../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/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. @@ -291,0 +560,4 @@ +../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. @@ -318,7 +589,0 @@ -../net/ceph/osdmap.c:1441:10: warning: result of comparison of constant 4611686018427387891 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] - 1441 | if (len > (SIZE_MAX - sizeof(*pg)) / sizeof(u32)) - | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../net/ceph/osdmap.c:1624:10: warning: result of comparison of constant 2305843009213693945 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] - 1624 | if (len > (SIZE_MAX - sizeof(*pg)) / (2 * sizeof(u32))) - | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -2 warnings generated. @@ -343,4 +607,0 @@ -../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. @@ -364,0 +626,4 @@ +../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. @@ -387,18 +651,0 @@ -../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. -../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' -../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.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 -../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new -../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/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. @@ -410,0 +658,7 @@ +../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new +../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/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. @@ -411,0 +666,7 @@ +make[3]: *** [../scripts/Makefile.build:478: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 +make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 +make: *** [Makefile:224: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.PNFnB5G5yj 2024-10-17 21:45:03.878191932 -0700 +++ /tmp/tmp.u4sRacgiwm 2024-10-17 21:45:03.881191906 -0700 @@ -4 +4,2 @@ - 1 ../drivers/net/caif/caif_serial.c + 1 ../drivers/net/dsa/microchip/ksz9477.c + 2 ../drivers/net/dsa/xrs700x/xrs700x.c @@ -21,0 +23 @@ + 6 ../include/linux/netdevice.h @@ -23,2 +25,2 @@ - 2 ../net/ceph/osdmap.c - 3 ../net/ipv4/tcp_lp.c + 1 ../net/dsa/tag_ksz.c + 3 ../net/ethtool/ioctl.c