Re: [PATCH 2/6] net: ethernet: et131x: constify ethtool_ops structures

2016-08-31 Thread Mark Einon
On Wed, Aug 31, 2016 at 09:30:44AM +0200, 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

Re: [PATCH 2/6] net: ethernet: et131x: constify ethtool_ops structures

2016-08-31 Thread Mark Einon
On Wed, Aug 31, 2016 at 09:30:44AM +0200, 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

[PATCH 2/6] net: ethernet: et131x: 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

[PATCH 2/6] net: ethernet: et131x: 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