Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by "Chen Aibing"
Thu, 12 Nov 2026 07:06
[PATCH net-next] netxen_nic: add missing prototype for netxen_nic_set_link_parameters()
Author: "Chen Aibing"
Date: Thu, 12 Nov 2026 07:06
Date: Thu, 12 Nov 2026 07:06
22 lines
9945 bytes
9945 bytes
From: chenaibing <chenaibing@cmss.chinamobile.com> Fix the following W=1 warning when building with -Wmissing-prototypes: drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c: warning: no previous prototype for 'netxen_nic_set_link_parameters' [-Wmissing-prototypes] The function is defined in netxen_nic_hw.c and called from other files in the driver. Add the missing declaration to the shared header. Signed-off-by: chenaibing <chenaibing@cmss.chinamobile.com> --- drivers/net/ethernet/qlogic/netxen/netxen_nic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h index 1234567890ab..abcdef123456 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h @@ -1574,6 +1574,7 @@ int netxen_get_flash_mac_addr(struct netxen_adapter *adapter, u64 *mac); int netxen_p3_get_mac_addr(struct netxen_adapter *adapter, u64 *mac); void netxen_change_ringparam(struct netxen_adapter *adapter); +void netxen_nic_set_link_parameters(struct netxen_adapter *adapter); extern const struct ethtool_ops netxen_nic_ethtool_ops; -- 2.39.0
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads