[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f371f4fa-4b09-d342-9b17-647b49468330@mellanox.com>
Date: Wed, 19 Jul 2017 13:27:50 +0300
From: Arkadi Sharshevsky <arkadis@...lanox.com>
To: Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...nulli.us, ivecera@...hat.com,
f.fainelli@...il.com, andrew@...n.ch, Woojung.Huh@...rochip.com,
stephen@...workplumber.org, mlxsw@...lanox.com
Subject: Re: [PATCH net-next 04/11] net: dsa: Add support for learning FDB
through notification
On 07/18/2017 08:16 PM, Vivien Didelot wrote:
> Hi Arkadi,
>
> Arkadi Sharshevsky <arkadis@...lanox.com> writes:
>
>> --- a/include/net/dsa.h
>> +++ b/include/net/dsa.h
>> @@ -451,6 +451,7 @@ void unregister_switch_driver(struct dsa_switch_driver *type);
>> struct mii_bus *dsa_host_dev_to_mii_bus(struct device *dev);
>>
>> struct net_device *dsa_dev_to_net_device(struct device *dev);
>> +bool dsa_schedule_work(struct work_struct *work);
>
> You forgot to move this declaration to net/dsa/dsa_priv.h, since this is
> private to DSA core and does not need to be exposed to drivers ;-)
>
No problem, will move it to dsa_priv.h, thanks.
>> + err = unregister_netdevice_notifier(&dsa_slave_switchdev_notifier);
>> + if (err)
>> + pr_err("DSA: failed to unregister switchdev notifier (%d)\n", err);
>
> I think you meant unregister_switchdev_notifier() here.
>
> Thanks,
>
> Vivien
>
Powered by blists - more mailing lists