Thread (44 messages) flat view 44 messages, 4 authors, 2019-10-21

Re: [PATCH net-next 01/16] net: dsa: use dsa_to_port helper everywhere

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2019-10-21 02:35:03
Also in: lkml


On 10/19/2019 8:19 PM, Vivien Didelot wrote:
Do not let the drivers access the ds->ports static array directly
while there is a dsa_to_port helper for this purpose.

At the same time, un-const this helper since the SJA1105 driver
assigns the priv member of the returned dsa_port structure.

Signed-off-by: Vivien Didelot <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help