Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1718845

Re: [PATCH 0/3] constify dsa_switch_ops

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] constify dsa_switch_ops
Date 2017-08-24 07:40 +0200
Message-ID <uhT22-2ii-5@gated-at.bofh.it> (permalink)
References <uhAVr-7G7-5@gated-at.bofh.it> <uhDgB-Aw-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andrew Lunn <andrew@lunn.ch>
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 <net/dsa.h> 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 dsa_switch_ops
>>   [PATCH 3/3] net: dsa: mt7530: constify dsa_switch_ops
> 
> For the whole series:
> 
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>

None of these patches apply to net-next, things are const there
already.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] constify dsa_switch_ops Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-23 12:20 +0200
  [PATCH 1/3] net: dsa: loop: constify dsa_switch_ops Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-23 12:20 +0200
  Re: [PATCH 0/3] constify dsa_switch_ops Andrew Lunn <andrew@lunn.ch> - 2017-08-23 14:50 +0200
    Re: [PATCH 0/3] constify dsa_switch_ops David Miller <davem@davemloft.net> - 2017-08-24 07:40 +0200

csiph-web