[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230119091606.2ee5a807@kernel.org>
Date: Thu, 19 Jan 2023 09:16:06 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: <alejandro.lucero-palau@....com>
Cc: <netdev@...r.kernel.org>, <linux-net-drivers@....com>,
<davem@...emloft.net>, <pabeni@...hat.com>, <edumazet@...gle.com>,
<habetsm@...il.com>, <ecree.xilinx@...il.com>
Subject: Re: [PATCH net-next 1/7] sfc: add devlink support for ef100
On Thu, 19 Jan 2023 11:31:34 +0000 alejandro.lucero-palau@....com 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.
Powered by blists - more mailing lists