[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <af968377-d4c4-4561-8dc6-6f92ff1ebbf4@lunn.ch>
Date: Fri, 8 Nov 2024 21:35:32 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Christian Marangi <ansuelsmth@...il.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Marion & Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [net-next PATCH] net: dsa: add devm_dsa_register_switch()
> +int devm_dsa_register_switch(struct device *dev, struct dsa_switch *ds)
> +{
> + int err;
> +
> + err = dsa_register_switch(ds);
> + if (err)
> + return err;
> +
> + return devm_add_action_or_reset(dev, devm_dsa_unregister_switch, ds);
> +}
> +EXPORT_SYMBOL_GPL(dsa_register_switch);
This looks to be the wrong function name.
Andrew
---
pw-bot: cr
Powered by blists - more mailing lists