[Intel-wired-lan] [PATCH] igb: constify e1000_phy_operations structure

Brown, Aaron F aaron.f.brown at intel.com
Tue Jan 12 03:44:08 UTC 2016


> From: Intel-wired-lan [intel-wired-lan-bounces at lists.osuosl.org] on behalf of Julia Lawall [Julia.Lawall at lip6.fr]
> Sent: Saturday, January 02, 2016 10:44 PM
> To: Kirsher, Jeffrey T
> Cc: kernel-janitors at vger.kernel.org; linux-kernel at vger.kernel.org; intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH] igb: constify e1000_phy_operations   structure
> 
> This e1000_phy_operations structure is never modified, so declare it as
> const.  Other structures of this type are already const.
> 
> Done with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>
> 
> ---
>  drivers/net/ethernet/intel/igb/e1000_82575.c |    2 +-
>  drivers/net/ethernet/intel/igb/e1000_hw.h    |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list