Re: [PATCH] net: ethernet: make ptp_clock_info const

2017-08-22 Thread David Miller
From: Bhumika Goyal Date: Mon, 21 Aug 2017 22:36:50 +0530 > Make these const as they are only used in a copy operation. > Done using Coccinelle. ... > Signed-off-by: Bhumika Goyal Applied.

Re: [PATCH] net: ethernet: make ptp_clock_info const

2017-08-22 Thread David Miller
From: Bhumika Goyal Date: Mon, 21 Aug 2017 22:36:50 +0530 > Make these const as they are only used in a copy operation. > Done using Coccinelle. ... > Signed-off-by: Bhumika Goyal Applied.

Re: [PATCH] net: ethernet: make ptp_clock_info const

2017-08-22 Thread Richard Cochran
On Mon, Aug 21, 2017 at 10:36:50PM +0530, Bhumika Goyal wrote: > Make these const as they are only used in a copy operation. > Done using Coccinelle. Acked-by: Richard Cochran

Re: [PATCH] net: ethernet: make ptp_clock_info const

2017-08-22 Thread Richard Cochran
On Mon, Aug 21, 2017 at 10:36:50PM +0530, Bhumika Goyal wrote: > Make these const as they are only used in a copy operation. > Done using Coccinelle. Acked-by: Richard Cochran

[PATCH] net: ethernet: make ptp_clock_info const

2017-08-21 Thread Bhumika Goyal
Make these const as they are only used in a copy operation. Done using Coccinelle. @match disable optional_qualifier@ identifier s; @@ static struct ptp_clock_info s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@ position ref.p; identifier match.s,f,c; expression e; @@ ( e = s@p

[PATCH] net: ethernet: make ptp_clock_info const

2017-08-21 Thread Bhumika Goyal
Make these const as they are only used in a copy operation. Done using Coccinelle. @match disable optional_qualifier@ identifier s; @@ static struct ptp_clock_info s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@ position ref.p; identifier match.s,f,c; expression e; @@ ( e = s@p