Thread (23 messages) flat view 23 messages, 5 authors, 2020-09-10

Re: [PATCH v4 04/11] net: dsa: microchip: ksz8795: use port_cnt where possible

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-08-03 17:40:09


On 8/2/2020 10:44 PM, Michael Grzeschik wrote:
Since the driver can be used on more switches it needs
to use flexible port count whereever possible.

Signed-off-by: Michael Grzeschik <redacted>
Since you appear to have access to a dsa_switch instance in most cases,
maybe consider using ds->num_ports directly? Not necessarily a big deal
and the current change is an improvement anyway.

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