RE: [Intel-wired-lan] [PATCH] igb: constify e1000_phy_operations structure
From: Brown, Aaron F
Date: Mon Jan 11 2016 - 22:44:15 EST
> From: Intel-wired-lan [intel-wired-lan-bounces@xxxxxxxxxxxxxxxx] on behalf of Julia Lawall [Julia.Lawall@xxxxxxx]
> Sent: Saturday, January 02, 2016 10:44 PM
> To: Kirsher, Jeffrey T
> Cc: kernel-janitors@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; intel-wired-lan@xxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx
> 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@xxxxxxx>
> 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@xxxxxxxxx>