========== build_clang - FAILED .pylintrc: 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. Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' 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/api.h:57: 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:392: ../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/rbd.c:6092: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] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :145:1: note: expanded from here 145 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' ../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/firmware/turris-mox-rwtm.c:12: In file included from ../include/linux/completion.h:12: In file included from ../include/linux/swait.h:7: 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:102: 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:392: ../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/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/api.h:57: 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:392: ../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/api.h:57: 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:392: ../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. Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' 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:102: 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:392: ../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_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:102: 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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' ../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. Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' 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:102: 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:392: ../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/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/tx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel/libeth] Error 2 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 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:392: ../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:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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. Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 make[5]: *** Waiting for unfinished jobs.... Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 .pylintrc: 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. Warning: ../security/landlock/ruleset.c:206 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:206 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:685 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:685 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:764 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:764 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1034 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1034 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' ../drivers/block/rbd.c:6092: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] 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6093 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' 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/api.h:57: 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:392: ../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. ../kernel/sched/core.c:6453:1: warning: unused function 'class_core_lock_lock_ptr' [-Wunused-function] 6453 | DEFINE_LOCK_GUARD_1(core_lock, int, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6454 | sched_core_lock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6455 | sched_core_unlock(*_T->lock, &_T->flags), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6456 | unsigned long flags) | ~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:427:49: note: expanded from macro 'DEFINE_LOCK_GUARD_1' 427 | __DEFINE_CLASS_IS_CONDITIONAL(_name, false); \ | ^ 428 | __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:406:10: note: expanded from macro '\ __DEFINE_UNLOCK_GUARD' 406 | \ | ^ 407 | __DEFINE_GUARD_LOCK_PTR(_name, &_T->lock) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/cleanup.h:314:23: note: expanded from macro '\ __DEFINE_GUARD_LOCK_PTR' 314 | static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \ | ^~~~~~~~~~~~~~~~~~~~~~~~ :145:1: note: expanded from here 145 | class_core_lock_lock_ptr | ^~~~~~~~~~~~~~~~~~~~~~~~ 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. In file included from ../drivers/firmware/turris-mox-rwtm.c:12: In file included from ../include/linux/completion.h:12: In file included from ../include/linux/swait.h:7: 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:102: 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:392: ../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/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/api.h:57: 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:392: ../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. Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' 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/api.h:57: 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:392: ../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:102: 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:392: ../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_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:102: 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:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/lpfc/lpfc_bsg.c:2819:11: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 2819 | int cnt, offset = 0, i = 0; | ^ 1 warning generated. Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'len' not described in 'krb5_etm_decrypt' Warning: ../net/sunrpc/auth_gss/gss_krb5_crypto.c:902 function parameter 'buf' not described in 'krb5_etm_decrypt' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' ../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/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/tx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/xdp.o] Error 1 make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel/libeth] Error 2 make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel] Error 2 make[6]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:287: ../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/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:392: ../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. Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' 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:102: 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:392: ../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/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1119 | 0) > 10 ? | ^ 1120 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1121 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 make[5]: *** Waiting for unfinished jobs.... ../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. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.2TUitPQFSq 2025-06-19 23:27:57.765086124 -0700 +++ /tmp/tmp.kA4SKhDOVq 2025-06-19 23:31:35.123520250 -0700 @@ -15,0 +16,10 @@ +../drivers/block/rbd.c:6092: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] + 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) + | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6093 | / sizeof (u64)) { + | ~~~~~~~~~~~~~~ +1 warning generated. +Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' +Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' +Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' +Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' @@ -31,6 +40,0 @@ -../drivers/block/rbd.c:6092: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] - 6092 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) - | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6093 | / sizeof (u64)) { - | ~~~~~~~~~~~~~~ -1 warning generated. @@ -65,4 +68,0 @@ -Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' -Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' -Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' -Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' @@ -103,0 +104,3 @@ +Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' +Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' +Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' @@ -122,3 +124,0 @@ -Warning: ../fs/nfsd/filecache.c:381 function parameter 'pnf' not described in 'nfsd_file_put_local' -Warning: ../fs/nfsd/filecache.c:381 Excess function parameter 'nf' description in 'nfsd_file_put_local' -Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3890 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' @@ -158,0 +159,2 @@ +Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' +Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' @@ -160,0 +163,5 @@ +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' +Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' @@ -168,21 +174,0 @@ -Warning: ../fs/nfsd/localio.c:50 function parameter 'pnf' not described in 'nfsd_open_local_fh' -Warning: ../fs/nfsd/localio.c:50 Excess function parameter 'nfp' description in 'nfsd_open_local_fh' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:41 function parameter 'Adapter' not described in 'PHY_QueryBBReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:71 function parameter 'Adapter' not described in 'PHY_SetBBReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:189 function parameter 'Adapter' not described in 'phy_RFSerialWrite_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:232 function parameter 'Adapter' not described in 'PHY_QueryRFReg_8723B' -Warning: ../drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:261 function parameter 'Adapter' not described in 'PHY_SetRFReg_8723B' -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:102: -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:392: -../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. @@ -212,0 +199,23 @@ +In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: +../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, + | ^ +../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? +../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here + 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) + | ^ +In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: +../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer + 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, + | ~~~~~~~~~~~~~~~~~~~~~~~ ^ +../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); + | ^ +../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] + 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here + 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, + | ^ +4 errors generated. +make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/xdp.o] Error 1 @@ -214 +222,0 @@ -make[7]: *** Waiting for unfinished jobs.... @@ -217,8 +225 @@ -../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] - 1119 | 0) > 10 ? - | ^ - 1120 | IWL_MAC_BEACON_FILS : - | ~~~~~~~~~~~~~~~~~~~ - 1121 | IWL_MAC_BEACON_FILS_V1; - | ~~~~~~~~~~~~~~~~~~~~~~ -1 warning generated. +../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch @@ -234,5 +234,0 @@ -../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch -../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. @@ -241,0 +238,22 @@ +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:102: +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:392: +../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/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1119:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] + 1119 | 0) > 10 ? + | ^ + 1120 | IWL_MAC_BEACON_FILS : + | ~~~~~~~~~~~~~~~~~~~ + 1121 | IWL_MAC_BEACON_FILS_V1; + | ~~~~~~~~~~~~~~~~~~~~~~ +1 warning generated. @@ -243,0 +262,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. Per-file breakdown --- /tmp/tmp.D48HL18Al8 2025-06-19 23:31:35.133520178 -0700 +++ /tmp/tmp.w8bjdj4AJY 2025-06-19 23:31:35.135520164 -0700 @@ -8 +8 @@ - 4 ../include/net/libeth/xdp.h + 8 ../include/net/libeth/xdp.h