[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o9shfywl.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me>
Date: Tue, 18 Jul 2017 13:16:58 -0400
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: Arkadi Sharshevsky <arkadis@...lanox.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,
Arkadi Sharshevsky <arkadis@...lanox.com>
Subject: Re: [PATCH net-next 04/11] net: dsa: Add support for learning FDB through notification
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 ;-)
> + 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