diff options
author | Wong Vee Khee <vee.khee.wong@linux.intel.com> | 2021-04-06 16:17:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-07 02:42:25 +0300 |
commit | 63cf32389925e234d166fb1a336b46de7f846003 (patch) | |
tree | 9b8dfd66078159ca99d441219b5a42ad5b64af8a /Documentation/networking/ethtool-netlink.rst | |
parent | ed7bedd2c3ca040f1e8ea02c6590a93116b1ec78 (diff) | |
download | linux-63cf32389925e234d166fb1a336b46de7f846003.tar.xz |
ethtool: fix incorrect datatype in set_eee ops
The member 'tx_lpi_timer' is defined with __u32 datatype in the ethtool
header file. Hence, we should use ethnl_update_u32() in set_eee ops.
Fixes: fd77be7bd43c ("ethtool: set EEE settings with EEE_SET request")
Cc: <stable@vger.kernel.org> # 5.10.x
Cc: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/ethtool-netlink.rst')
0 files changed, 0 insertions, 0 deletions