diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-01-19 14:59:35 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-30 10:32:26 +0100 |
| commit | aac95b3dd1c26c01f0f07e33394e70e2db1d2809 (patch) | |
| tree | 29285964152227b55642aefdf26b17dc1b663634 /include/net/aligned_data.h | |
| parent | 69b5b028fc130c55d810bd964c2f949433256afa (diff) | |
net: txgbe: remove the redundant data return in SW-FW mailbox
commit 3d778e65b4f44c6af4901d83020bb8a0a010f39e upstream.
For these two firmware mailbox commands, in txgbe_test_hostif() and
txgbe_set_phy_link_hostif(), there is no need to read data from the
buffer.
Under the current setting, OEM firmware will cause the driver to fail to
probe. Because OEM firmware returns more link information, with a larger
OEM structure txgbe_hic_ephy_getlink. However, the current driver does
not support the OEM function. So just fix it in the way that does not
involve reading the returned data.
Fixes: d84a3ff9aae8 ("net: txgbe: Restrict the use of mismatched FW versions")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/2914AB0BC6158DDA+20260119065935.6015-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
