../lib/vsprintf.c: In function ‘va_format’: ../lib/vsprintf.c:1718:9: warning: function ‘va_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1718 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ ../kernel/audit.c: In function ‘audit_log_vformat’: ../kernel/audit.c:1978:9: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1978 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); | ^~~ ../kernel/audit.c:1987:17: warning: function ‘audit_log_vformat’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1987 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | ^~~ ../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' ../fs/nfsd/nfs4state.c: In function ‘nfsd4_lock’: ../fs/nfsd/nfs4state.c:7969:29: warning: variable ‘sb’ set but not used [-Wunused-but-set-variable] 7969 | struct super_block *sb; | ^~ In file included from ../include/linux/string.h:389, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:389, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../include/linux/smp.h:13, from ../include/linux/lockdep.h:14, from ../include/linux/rcupdate.h:29, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../include/linux/string.h:389, from ../arch/x86/include/asm/page_32.h:18, from ../arch/x86/include/asm/page.h:14, from ../arch/x86/include/asm/processor.h:20, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2507:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2507 | int ret; | ^~~ ../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' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2507:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2507 | int ret; | ^~~ ../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' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../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' ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2507:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2507 | int ret; | ^~~ ../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' ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset'