Re: [PATCH net-next v2] net: don't include ethtool.h from netdevice.h

From
Jesse Brandeburg <hidden>
Date
2020-11-23 22:41:49
Also in
linux-rdma, linux-wireless
Reply to
Jakub Kicinski, 2020-11-20
Jakub Kicinski wrote:
linux/netdevice.h is included in very many places, touching any
of its dependecies causes large incremental builds.

Drop the linux/ethtool.h include, linux/netdevice.h just needs
a forward declaration of struct ethtool_ops.

Fix all the places which made use of this implicit include.

Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jesse Brandeburg <redacted>
Thread (2 messages) 2 messages, 2 authors, last reply 2020-11-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help