[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7Qe9qHUVuqr2Wgd@nanopsycho>
Date: Tue, 3 Jan 2023 13:26:30 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: jacob.e.keller@...el.com, leon@...nel.org, netdev@...r.kernel.org
Subject: Re: [RFC net-next 04/10] devlink: always check if the devlink
instance is registered
Sat, Dec 17, 2022 at 02:19:47AM CET, kuba@...nel.org wrote:
[...]
>+bool devl_is_alive(struct devlink *devlink)
>+{
>+ return xa_get_mark(&devlinks, devlink->index, DEVLINK_REGISTERED);
>+}
>+EXPORT_SYMBOL_GPL(devl_is_alive);
Why is this exported? Drivers should not use this, as you said.
Powered by blists - more mailing lists