Subject: Re: [PATCH net-next 1/7] sfc: add devlink support for ef100

From: Jakub Kicinski <[email-masked]>
Date: Thu, 19 Jan 2023 09:16:06 -0800

On Thu, 19 Jan 2023 11:31:34 +0000 [email-masked] wrote:
> +		devlink_unregister(efx->devlink);
> +		devlink_free(efx->devlink);

Please use the devl_ APIs and take the devl_lock() explicitly.
Once you start adding sub-objects the API with implicit locking
gets racy.