summaryrefslogtreecommitdiffstats
path: root/net/ethtool/mm.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2023-01-23 13:57:39 +0000
committerDavid S. Miller <davem@davemloft.net>2023-01-23 13:57:39 +0000
commitdc0b98a1758f0d2296349ca23ac88804b922e88d (patch)
tree7b92877d3bf3176735247d8102330098a5f79e5d /net/ethtool/mm.c
parent7a98143118799411cc09e3dfc0b2a6f12628f7db (diff)
downloadlinux-dc0b98a1758f0d2296349ca23ac88804b922e88d.tar.gz
linux-dc0b98a1758f0d2296349ca23ac88804b922e88d.tar.bz2
linux-dc0b98a1758f0d2296349ca23ac88804b922e88d.zip
ethtool: Add and use ethnl_update_bool.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/mm.c')
-rw-r--r--net/ethtool/mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/mm.c b/net/ethtool/mm.c
index 809d196665c6..3e8acdb806fd 100644
--- a/net/ethtool/mm.c
+++ b/net/ethtool/mm.c
@@ -225,7 +225,7 @@ int ethnl_set_mm(struct sk_buff *skb, struct genl_info *info)
ethnl_update_u32(&cfg.verify_time, tb[ETHTOOL_A_MM_VERIFY_TIME], &mod);
ethnl_update_bool(&cfg.tx_enabled, tb[ETHTOOL_A_MM_TX_ENABLED], &mod);
ethnl_update_bool(&cfg.pmac_enabled, tb[ETHTOOL_A_MM_PMAC_ENABLED],
- &mod);
+ &mod);
ethnl_update_u32(&cfg.tx_min_frag_size,
tb[ETHTOOL_A_MM_TX_MIN_FRAG_SIZE], &mod);