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


Groups > linux.kernel > #1703267

Re: [PATCH net-next] net: dsa: bcm_sf2: dst in not an array

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: dsa: bcm_sf2: dst in not an array
Date 2017-08-03 18:40 +0200
Message-ID <uarkf-2yP-31@gated-at.bofh.it> (permalink)
References <ua7Yd-5TV-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Wed,  2 Aug 2017 15:48:25 -0400

> It's been a while now since ds->dst is not an array anymore, but a
> simple pointer to a dsa_switch_tree.
> 
> Fortunately, SF2 does not support multi-chip and thus ds->index is
> always 0.
> 
> This patch substitutes 'ds->dst[ds->index].' with 'ds->dst->'.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Applied.

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


Thread

[PATCH net-next] net: dsa: bcm_sf2: dst in not an array Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-02 22:00 +0200
  Re: [PATCH net-next] net: dsa: bcm_sf2: dst in not an array Florian Fainelli <f.fainelli@gmail.com> - 2017-08-02 22:00 +0200
  Re: [PATCH net-next] net: dsa: bcm_sf2: dst in not an array David Miller <davem@davemloft.net> - 2017-08-03 18:40 +0200

csiph-web