Messages in this thread | | | From | "Brown, Aaron F" <> | Subject | RE: [Intel-wired-lan] [PATCH] igb: constify e1000_phy_operations structure | Date | Tue, 12 Jan 2016 03:44:08 +0000 |
| |
> From: Intel-wired-lan [intel-wired-lan-bounces@lists.osuosl.org] on behalf of Julia Lawall [Julia.Lawall@lip6.fr] > Sent: Saturday, January 02, 2016 10:44 PM > To: Kirsher, Jeffrey T > Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org; intel-wired-lan@lists.osuosl.org; netdev@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@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@intel.com>
| |