linux/drivers/net/ethernet/sfc
Dan Carpenter 051ffb001b sfc: fix error code in efx_devlink_info_running_versions()
Return -EIO if efx_mcdi_rpc() doesn't return enough space.

Fixes: 14743ddd24 ("sfc: add devlink info support for ef100")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://patch.msgid.link/afGpsbLRHL4_H0KS@stanley.mountain
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-04-30 13:44:30 +02:00
..
falcon Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
siena Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
bitfield.h
ef10_regs.h
ef10_sriov.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ef10_sriov.h
ef10.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ef100_ethtool.c net: sfc: efx: convert to use .get_rx_ring_count 2026-01-23 10:53:06 -08:00
ef100_ethtool.h
ef100_netdev.c sfc: fix NULL dereferences in ef100_process_design_param() 2025-04-03 15:08:25 -07:00
ef100_netdev.h
ef100_nic.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ef100_nic.h
ef100_regs.h
ef100_rep.c
ef100_rep.h
ef100_rx.c
ef100_rx.h
ef100_sriov.c
ef100_sriov.h
ef100_tx.c net: gso: restore ids of outer ip headers correctly 2025-09-25 12:42:49 +02:00
ef100_tx.h
ef100.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ef100.h
efx_channels.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
efx_channels.h
efx_common.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
efx_common.h
efx_devlink.c sfc: fix error code in efx_devlink_info_running_versions() 2026-04-30 13:44:30 +02:00
efx_devlink.h
efx_reflash.c sfc: support X4 devlink flash 2025-03-25 07:55:11 -07:00
efx_reflash.h sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
efx.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
efx.h
enum.h
ethtool_common.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ethtool_common.h net: sfc: efx: convert to use .get_rx_ring_count 2026-01-23 10:53:06 -08:00
ethtool.c sfc: add transmit timestamping support 2026-03-31 19:19:09 -07:00
filter.h
fw_formats.h sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
io.h
Kconfig sfc: document devlink flash support 2025-02-11 17:12:17 -08:00
mae_counter_format.h
mae.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
mae.h
Makefile sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
mcdi_filters.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mcdi_filters.h
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
mcdi_pcol_mae.h
mcdi_pcol.h net: Fix typos 2025-07-25 10:29:07 -07:00
mcdi_port_common.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mcdi_port_common.h
mcdi_port.c sfc: rip out MDIO support 2025-03-25 07:55:10 -07:00
mcdi_port.h
mcdi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mcdi.h sfc: extend NVRAM MCDI handlers 2025-02-11 17:12:17 -08:00
mtd.c
net_driver.h sfc: eliminate xdp_rxq_info_valid using XDP base API 2025-07-01 17:01:15 -07:00
nic_common.h
nic.c
nic.h sfc: correct kernel-doc complaints 2026-01-08 18:04:18 -08:00
ptp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ptp.h
rx_common.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
rx_common.h
rx.c
selftest.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
selftest.h
sriov.c
sriov.h
tc_bindings.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tc_bindings.h
tc_conntrack.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
tc_conntrack.h
tc_counters.c drivers: net: drop ipv6_stub usage and use direct function calls 2026-03-29 11:21:23 -07:00
tc_counters.h
tc_encap_actions.c drivers: net: drop ipv6_stub usage and use direct function calls 2026-03-29 11:21:23 -07:00
tc_encap_actions.h
tc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tc.h
tx_common.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
tx_common.h
tx_tso.c
tx.c sfc: add transmit timestamping support 2026-03-31 19:19:09 -07:00
tx.h
workarounds.h