net: ethtool: Fix comment mentioning typo in IS_ENABLED()
Subsystems (3)
PATCH 1/1 net: ethtool: Fix comment mentioning typo in IS_ENABLED()
This has no code changes, but it's a typo noticed in other clean-ups, so we might as well fix it. IS_ENABLED() takes full names, and should have the "CONFIG_" prefix.
Reported-by Joe Perches <[email protected]>
Signed-off-by Kees Cook <[email protected]>
--- include/linux/ethtool_netlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ethtool_netlink.h +1 -1
@@ -67,5 +67,5 @@ static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first, {return -EOPNOTSUPP ; } -#endif /* IS_ENABLED(ETHTOOL_NETLINK) */ +#endif /* IS_ENABLED(CONFIG_ETHTOOL_NETLINK) */ #endif /* _LINUX_ETHTOOL_NETLINK_H_ */
Signature · 5 lines
2.25.1 -- Kees Cook
From: Kees Cook <[email protected]>
Date: Fri, 5 Jun 2020 07:21:22 -0700
Quoted 7 lines
This has no code changes, but it's a typo noticed in other clean-ups, so we might as well fix it.
IS_ENABLED()takes full names, and should have the "CONFIG_" prefix.Reported-by Joe Perches <[email protected]>Signed-off-by Kees Cook <[email protected]>
Applied, thank you.