[PATCH 1/5] net: mediatek: constify ethtool_ops structures
David Miller
davem at davemloft.net
Wed Aug 31 20:46:11 PDT 2016
From: Julia Lawall <Julia.Lawall at lip6.fr>
Date: Thu, 1 Sep 2016 00:21:19 +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.
...
> Suggested-by: Stephen Hemminger <stephen at networkplumber.org>
>
> Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>
Applied.
More information about the Linux-mediatek
mailing list