WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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/net/ethernet/sel/sel_soft_phy.c:20: warning: Function parameter or struct member 'hw_mac' not described in 'sel_noop_no_return' ../drivers/net/ethernet/sel/sel_soft_phy.c:20: warning: Function parameter or struct member 'phy' not described in 'sel_noop_no_return' ../drivers/net/ethernet/sel/ethtool.c:134: warning: Function parameter or struct member 'kernel_ring' not described in 'ethtool_get_ringparam' ../drivers/net/ethernet/sel/ethtool.c:134: warning: Function parameter or struct member 'netack' not described in 'ethtool_get_ringparam' ../drivers/net/ethernet/sel/ethtool.c:156: warning: Function parameter or struct member 'kernel_ring' not described in 'ethtool_set_ringparam' ../drivers/net/ethernet/sel/ethtool.c:156: warning: Function parameter or struct member 'netack' not described in 'ethtool_set_ringparam' ../drivers/net/ethernet/sel/netdev_isr.c:228: warning: expecting prototype for sel_poll_rx(). Prototype was for sel_poll_tx() instead ../drivers/net/ethernet/sel/sfp.c:61: warning: Function parameter or struct member 'buf' not described in 'sfp_read_i2c' ../drivers/net/ethernet/sel/sfp.c:61: warning: Excess function parameter 'returns' description in 'sfp_read_i2c' ../drivers/net/ethernet/sel/sfp.c:123: warning: Excess function parameter 'returns' description in 'sfp_read_string' ../drivers/net/ethernet/sel/sfp.c:148: warning: Excess function parameter 'returns' description in 'sfp_read_diag' ../drivers/net/ethernet/sel/sfp.c:263: warning: Excess function parameter 'returns' description in 'sfp_read_id' ../drivers/net/ethernet/sel/sfp.c:460: warning: Excess function parameter 'returns' description in 'is_sel_sfp' ../drivers/net/ethernet/sel/sfp.c:494: warning: Excess function parameter 'returns' description in 'get_sfp_type' ../drivers/net/ethernet/sel/sfp.c:520: warning: Excess function parameter 'data' description in '_sfp_update' ../drivers/net/ethernet/sel/netdev.c: In function ‘selpcimac_resume_device’: ../drivers/net/ethernet/sel/netdev.c:805:13: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 805 | int err = 0; | ^~~ ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_CONFIGURATION' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_MOD_RATE' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_RX_ABS' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_RX_PACKET' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_TX_ABS' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_TX_PACKET' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_THROTTLE' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'ETH_REGISTERED' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_ID' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_DIAG' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:51: warning: Excess function parameter 'returns' description in 'dump_sfp_id' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:101: warning: Excess function parameter 'returns' description in 'dump_sfp_diag' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:467: warning: expecting prototype for intr_rx_packet_show(). Prototype was for intr_tx_abs_show() instead ../drivers/net/ethernet/sel/pci_mac_sysfs.c:640: warning: expecting prototype for sel_set_attributes_group(). Prototype was for sel_set_attributes() instead ../drivers/net/ethernet/sel/mii.c:393: warning: expecting prototype for mii_link_ok(). Prototype was for sel_mii_link_ok() instead ../drivers/net/ethernet/sel/mii.c:408: warning: expecting prototype for mii_nway_restart(). Prototype was for sel_mii_nway_restart() instead ../drivers/net/ethernet/sel/netdev.c:602: warning: Excess function parameter 'data' description in 'sel_reset_task' ../drivers/net/ethernet/sel/netdev_rx.c:32: warning: Function parameter or struct member 'ring' not described in 'selpcimac_rx_alloc_page' ../drivers/net/ethernet/sel/netdev_rx.c:43: warning: Function parameter or struct member 'ring' not described in 'selpcimac_rx_free_page' ../drivers/net/ethernet/sel/netdev_rx.c:43: warning: Function parameter or struct member 'page' not described in 'selpcimac_rx_free_page' ../drivers/net/ethernet/sel/netdev_rx.c:465: warning: Function parameter or struct member 'ring' not described in 'selpcimac_add_rx_frag' ../drivers/net/ethernet/sel/netdev_tx.c:164: warning: Function parameter or struct member 'txqueue' not described in 'sel_tx_timeout' WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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 WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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/net/ethernet/sel/netdev.c: In function ‘selpcimac_resume_device’: ../drivers/net/ethernet/sel/netdev.c:805:13: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 805 | int err = 0; | ^~~ ../drivers/net/ethernet/sel/ethtool.c:134: warning: Function parameter or struct member 'kernel_ring' not described in 'ethtool_get_ringparam' ../drivers/net/ethernet/sel/ethtool.c:134: warning: Function parameter or struct member 'netack' not described in 'ethtool_get_ringparam' ../drivers/net/ethernet/sel/ethtool.c:156: warning: Function parameter or struct member 'kernel_ring' not described in 'ethtool_set_ringparam' ../drivers/net/ethernet/sel/ethtool.c:156: warning: Function parameter or struct member 'netack' not described in 'ethtool_set_ringparam' ../drivers/net/ethernet/sel/mii.c:393: warning: expecting prototype for mii_link_ok(). Prototype was for sel_mii_link_ok() instead ../drivers/net/ethernet/sel/mii.c:408: warning: expecting prototype for mii_nway_restart(). Prototype was for sel_mii_nway_restart() instead ../drivers/net/ethernet/sel/netdev.c:602: warning: Excess function parameter 'data' description in 'sel_reset_task' ../drivers/net/ethernet/sel/netdev_isr.c:228: warning: expecting prototype for sel_poll_rx(). Prototype was for sel_poll_tx() instead ../drivers/net/ethernet/sel/netdev_rx.c:32: warning: Function parameter or struct member 'ring' not described in 'selpcimac_rx_alloc_page' ../drivers/net/ethernet/sel/netdev_rx.c:43: warning: Function parameter or struct member 'ring' not described in 'selpcimac_rx_free_page' ../drivers/net/ethernet/sel/netdev_rx.c:43: warning: Function parameter or struct member 'page' not described in 'selpcimac_rx_free_page' ../drivers/net/ethernet/sel/netdev_rx.c:465: warning: Function parameter or struct member 'ring' not described in 'selpcimac_add_rx_frag' ../drivers/net/ethernet/sel/netdev_tx.c:164: warning: Function parameter or struct member 'txqueue' not described in 'sel_tx_timeout' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_CONFIGURATION' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_MOD_RATE' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_RX_ABS' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_RX_PACKET' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_TX_ABS' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_TX_PACKET' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_THROTTLE' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'ETH_REGISTERED' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_ID' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_DIAG' not described in enum 'sel_dev_attributes' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:51: warning: Excess function parameter 'returns' description in 'dump_sfp_id' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:101: warning: Excess function parameter 'returns' description in 'dump_sfp_diag' ../drivers/net/ethernet/sel/pci_mac_sysfs.c:467: warning: expecting prototype for intr_rx_packet_show(). Prototype was for intr_tx_abs_show() instead ../drivers/net/ethernet/sel/pci_mac_sysfs.c:640: warning: expecting prototype for sel_set_attributes_group(). Prototype was for sel_set_attributes() instead ../drivers/net/ethernet/sel/sel_soft_phy.c:20: warning: Function parameter or struct member 'hw_mac' not described in 'sel_noop_no_return' ../drivers/net/ethernet/sel/sel_soft_phy.c:20: warning: Function parameter or struct member 'phy' not described in 'sel_noop_no_return' ../drivers/net/ethernet/sel/sfp.c:61: warning: Function parameter or struct member 'buf' not described in 'sfp_read_i2c' ../drivers/net/ethernet/sel/sfp.c:61: warning: Excess function parameter 'returns' description in 'sfp_read_i2c' ../drivers/net/ethernet/sel/sfp.c:123: warning: Excess function parameter 'returns' description in 'sfp_read_string' ../drivers/net/ethernet/sel/sfp.c:148: warning: Excess function parameter 'returns' description in 'sfp_read_diag' ../drivers/net/ethernet/sel/sfp.c:263: warning: Excess function parameter 'returns' description in 'sfp_read_id' ../drivers/net/ethernet/sel/sfp.c:460: warning: Excess function parameter 'returns' description in 'is_sel_sfp' ../drivers/net/ethernet/sel/sfp.c:494: warning: Excess function parameter 'returns' description in 'get_sfp_type' ../drivers/net/ethernet/sel/sfp.c:520: warning: Excess function parameter 'data' description in '_sfp_update' New errors added --- /tmp/tmp.Y5zeKaOcnY 2024-10-30 10:54:04.698186743 -0700 +++ /tmp/tmp.sz8OgCRV3h 2024-10-30 10:56:28.199076690 -0700 @@ -13,0 +14,41 @@ +../drivers/net/ethernet/sel/netdev.c: In function ‘selpcimac_resume_device’: +../drivers/net/ethernet/sel/netdev.c:805:13: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] + 805 | int err = 0; + | ^~~ +../drivers/net/ethernet/sel/ethtool.c:134: warning: Function parameter or struct member 'kernel_ring' not described in 'ethtool_get_ringparam' +../drivers/net/ethernet/sel/ethtool.c:134: warning: Function parameter or struct member 'netack' not described in 'ethtool_get_ringparam' +../drivers/net/ethernet/sel/ethtool.c:156: warning: Function parameter or struct member 'kernel_ring' not described in 'ethtool_set_ringparam' +../drivers/net/ethernet/sel/ethtool.c:156: warning: Function parameter or struct member 'netack' not described in 'ethtool_set_ringparam' +../drivers/net/ethernet/sel/mii.c:393: warning: expecting prototype for mii_link_ok(). Prototype was for sel_mii_link_ok() instead +../drivers/net/ethernet/sel/mii.c:408: warning: expecting prototype for mii_nway_restart(). Prototype was for sel_mii_nway_restart() instead +../drivers/net/ethernet/sel/netdev.c:602: warning: Excess function parameter 'data' description in 'sel_reset_task' +../drivers/net/ethernet/sel/netdev_isr.c:228: warning: expecting prototype for sel_poll_rx(). Prototype was for sel_poll_tx() instead +../drivers/net/ethernet/sel/netdev_rx.c:32: warning: Function parameter or struct member 'ring' not described in 'selpcimac_rx_alloc_page' +../drivers/net/ethernet/sel/netdev_rx.c:43: warning: Function parameter or struct member 'ring' not described in 'selpcimac_rx_free_page' +../drivers/net/ethernet/sel/netdev_rx.c:43: warning: Function parameter or struct member 'page' not described in 'selpcimac_rx_free_page' +../drivers/net/ethernet/sel/netdev_rx.c:465: warning: Function parameter or struct member 'ring' not described in 'selpcimac_add_rx_frag' +../drivers/net/ethernet/sel/netdev_tx.c:164: warning: Function parameter or struct member 'txqueue' not described in 'sel_tx_timeout' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_CONFIGURATION' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_MOD_RATE' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_RX_ABS' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_RX_PACKET' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_TX_ABS' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_TX_PACKET' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'INTR_THROTTLE' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'ETH_REGISTERED' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_ID' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:37: warning: Enum value 'SFP_DIAG' not described in enum 'sel_dev_attributes' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:51: warning: Excess function parameter 'returns' description in 'dump_sfp_id' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:101: warning: Excess function parameter 'returns' description in 'dump_sfp_diag' +../drivers/net/ethernet/sel/pci_mac_sysfs.c:467: warning: expecting prototype for intr_rx_packet_show(). Prototype was for intr_tx_abs_show() instead +../drivers/net/ethernet/sel/pci_mac_sysfs.c:640: warning: expecting prototype for sel_set_attributes_group(). Prototype was for sel_set_attributes() instead +../drivers/net/ethernet/sel/sel_soft_phy.c:20: warning: Function parameter or struct member 'hw_mac' not described in 'sel_noop_no_return' +../drivers/net/ethernet/sel/sel_soft_phy.c:20: warning: Function parameter or struct member 'phy' not described in 'sel_noop_no_return' +../drivers/net/ethernet/sel/sfp.c:61: warning: Function parameter or struct member 'buf' not described in 'sfp_read_i2c' +../drivers/net/ethernet/sel/sfp.c:61: warning: Excess function parameter 'returns' description in 'sfp_read_i2c' +../drivers/net/ethernet/sel/sfp.c:123: warning: Excess function parameter 'returns' description in 'sfp_read_string' +../drivers/net/ethernet/sel/sfp.c:148: warning: Excess function parameter 'returns' description in 'sfp_read_diag' +../drivers/net/ethernet/sel/sfp.c:263: warning: Excess function parameter 'returns' description in 'sfp_read_id' +../drivers/net/ethernet/sel/sfp.c:460: warning: Excess function parameter 'returns' description in 'is_sel_sfp' +../drivers/net/ethernet/sel/sfp.c:494: warning: Excess function parameter 'returns' description in 'get_sfp_type' +../drivers/net/ethernet/sel/sfp.c:520: warning: Excess function parameter 'data' description in '_sfp_update' Per-file breakdown --- /tmp/tmp.LEMyLxDPgd 2024-10-30 10:56:28.206076636 -0700 +++ /tmp/tmp.1oswZn1Osy 2024-10-30 10:56:28.210076605 -0700 @@ -0,0 +1,9 @@ + 4 ../drivers/net/ethernet/sel/ethtool.c + 2 ../drivers/net/ethernet/sel/mii.c + 2 ../drivers/net/ethernet/sel/netdev.c + 1 ../drivers/net/ethernet/sel/netdev_isr.c + 4 ../drivers/net/ethernet/sel/netdev_rx.c + 1 ../drivers/net/ethernet/sel/netdev_tx.c + 14 ../drivers/net/ethernet/sel/pci_mac_sysfs.c + 2 ../drivers/net/ethernet/sel/sel_soft_phy.c + 8 ../drivers/net/ethernet/sel/sfp.c