Re: [PATCH] drivers: net: xgene: constify xgene_cle_ops structure

2016-05-03 Thread David Miller
From: Julia Lawall Date: Sun, 1 May 2016 14:36:28 +0200 > The xgene_cle_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied.

Re: [PATCH] drivers: net: xgene: constify xgene_cle_ops structure

2016-05-01 Thread Iyappan Subramanian
On Sun, May 1, 2016 at 5:36 AM, Julia Lawall wrote: > The xgene_cle_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- >

[PATCH] drivers: net: xgene: constify xgene_cle_ops structure

2016-05-01 Thread Julia Lawall
The xgene_cle_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/net/ethernet/apm/xgene/xgene_enet_cle.c |2 +- drivers/net/ethernet/apm/xgene/xgene_enet_cle.h |2 +-