On Fri, Apr 19, 2024 at 10:25:01AM -0300, Wander Lairson Costa wrote:
> kunit_init_device() should unregister the device on bus register error,
> but mistakenly it tries to unregister the bus.
> 
> Unregister the device instead of the bus.
> 
> Signed-off-by: Wander Lairson Costa <[email protected]>
> Fixes: d03c720e03bd ("kunit: Add APIs for managing devices")

Reviewed-by: Greg Kroah-Hartman <[email protected]>

Reply via email to