lkml.org 
[lkml]   [2017]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net-next] net: dsa: Utilize dsa_slave_dev_check()
Date
Hi Florian,

Florian Fainelli <f.fainelli@gmail.com> writes:

> Instead of open coding the check.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

If we do need to use it outside one day, we may think about renaming
netdev_uses_dsa() to netdev_is_dsa_master() and renaming
dsa_slave_dev_check() to netdev_is_dsa_slave().

In the meantime, looks good!

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

\
 
 \ /
  Last update: 2017-09-20 16:24    [W:0.036 / U:6.568 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site