Re: [PATCH 0/3] constify dsa_switch_ops

2017-08-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Aug 2017 14:45:56 +0200 > On Wed, Aug 23, 2017 at 03:46:56PM +0530, Arvind Yadav wrote: >> dsa_switch_ops are not supposed to change at runtime. All functions >> working with dsa_switch_ops provided by work with >> const dsa_switch_ops. So mark

Re: [PATCH 0/3] constify dsa_switch_ops

2017-08-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Aug 2017 14:45:56 +0200 > On Wed, Aug 23, 2017 at 03:46:56PM +0530, Arvind Yadav wrote: >> dsa_switch_ops are not supposed to change at runtime. All functions >> working with dsa_switch_ops provided by work with >> const dsa_switch_ops. So mark the non-const

Re: [PATCH 0/3] constify dsa_switch_ops

2017-08-23 Thread Andrew Lunn
On Wed, Aug 23, 2017 at 03:46:56PM +0530, Arvind Yadav wrote: > dsa_switch_ops are not supposed to change at runtime. All functions > working with dsa_switch_ops provided by work with > const dsa_switch_ops. So mark the non-const structs as const. > > Arvind Yadav (3): > [PATCH 1/3] net: dsa:

Re: [PATCH 0/3] constify dsa_switch_ops

2017-08-23 Thread Andrew Lunn
On Wed, Aug 23, 2017 at 03:46:56PM +0530, Arvind Yadav wrote: > dsa_switch_ops are not supposed to change at runtime. All functions > working with dsa_switch_ops provided by work with > const dsa_switch_ops. So mark the non-const structs as const. > > Arvind Yadav (3): > [PATCH 1/3] net: dsa:

[PATCH 0/3] constify dsa_switch_ops

2017-08-23 Thread Arvind Yadav
dsa_switch_ops are not supposed to change at runtime. All functions working with dsa_switch_ops provided by work with const dsa_switch_ops. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] net: dsa: loop: constify dsa_switch_ops [PATCH 2/3] net: dsa: lan9303: constify

[PATCH 0/3] constify dsa_switch_ops

2017-08-23 Thread Arvind Yadav
dsa_switch_ops are not supposed to change at runtime. All functions working with dsa_switch_ops provided by work with const dsa_switch_ops. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] net: dsa: loop: constify dsa_switch_ops [PATCH 2/3] net: dsa: lan9303: constify