projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49113d5
)
net: ethtool: Fix comment mentioning typo in IS_ENABLED()
author
Kees Cook
<keescook@chromium.org>
Fri, 5 Jun 2020 14:21:22 +0000
(07:21 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 5 Jun 2020 20:17:05 +0000
(13:17 -0700)
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 <joe@perches.com>
Link:
https://lore.kernel.org/lkml/b08611018fdb6d88757c6008a5c02fa0e07b32fb.camel@perches.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool_netlink.h
patch
|
blob
|
history
diff --git
a/include/linux/ethtool_netlink.h
b/include/linux/ethtool_netlink.h
index 8fbe4f97ffadfc8ce041140eaf127ae26dfe47d5..1e7bf78cb3829cc4059862a1256746d562492116 100644
(file)
--- a/
include/linux/ethtool_netlink.h
+++ b/
include/linux/ethtool_netlink.h
@@
-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_ */