Re: [PATCH v2] net: dsa: b53: constify b53_io_ops structures

2016-08-09 Thread David Miller
From: Julia Lawall Date: Tue, 9 Aug 2016 19:09:45 +0200 > The b53_io_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > v2: Refer to the right structure in

Re: [PATCH v2] net: dsa: b53: constify b53_io_ops structures

2016-08-09 Thread David Miller
From: Julia Lawall Date: Tue, 9 Aug 2016 19:09:45 +0200 > The b53_io_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > v2: Refer to the right structure in the commit message Applied to net-next,

Re: [PATCH v2] net: dsa: b53: constify b53_io_ops structures

2016-08-09 Thread Florian Fainelli
On 08/09/2016 10:09 AM, Julia Lawall wrote: > The b53_io_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2] net: dsa: b53: constify b53_io_ops structures

2016-08-09 Thread Florian Fainelli
On 08/09/2016 10:09 AM, Julia Lawall wrote: > The b53_io_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Florian Fainelli -- Florian

[PATCH v2] net: dsa: b53: constify b53_io_ops structures

2016-08-09 Thread Julia Lawall
The b53_io_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: Refer to the right structure in the commit message drivers/net/dsa/b53/b53_common.c |3 ++- drivers/net/dsa/b53/b53_mdio.c

[PATCH v2] net: dsa: b53: constify b53_io_ops structures

2016-08-09 Thread Julia Lawall
The b53_io_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: Refer to the right structure in the commit message drivers/net/dsa/b53/b53_common.c |3 ++- drivers/net/dsa/b53/b53_mdio.c |2 +-