On Fri, Oct 13, 2023 at 02:10:25PM +0200, Jiri Pirko wrote:
From: Jiri Pirko <redacted>
In preparation to allow to access device pointer without devlink
instance lock held, make sure the device pointer is usable until
devlink_release() is called.
Fixes: c137743bce02 ("devlink: introduce object and nested devlink relationship infra")
Signed-off-by: Jiri Pirko <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>