Thread (8 messages) 8 messages, 2 authors, 2016-09-01

Re: [PATCH 5/5] net: axienet: constify ethtool_ops structures

From: David Miller <davem@davemloft.net>
Date: 2016-09-01 03:46:37
Also in: kernel-janitors, linux-arm-kernel, lkml

From: Julia Lawall <redacted>
Date: Thu,  1 Sep 2016 00:21:23 +0200
Check for ethtool_ops structures that are only stored in the ethtool_ops
field of a net_device structure or passed as the second argument to
netdev_set_default_ethtool_ops.  These contexts are declared const, so
ethtool_ops structures that have these properties can be declared as const
also.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
 ...
Suggested-by: Stephen Hemminger <stephen@networkplumber.org>

Signed-off-by: Julia Lawall <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help