Re: [PATCH 3/6] net: bcmgenet: constify ethtool_ops structures

2016-08-31 Thread Florian Fainelli
On 08/31/2016 12:30 AM, Julia Lawall wrote: > 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 th

[PATCH 3/6] net: bcmgenet: constify ethtool_ops structures

2016-08-31 Thread Julia Lawall
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 s