Files
linux-cryptodev-2.6/lib/kunit
Wander Lairson Costa fabd480b72 kunit: unregister the device on error
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 <wander@redhat.com>
Fixes: d03c720e03 ("kunit: Add APIs for managing devices")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-05-06 14:22:02 -06:00
..
2023-12-18 13:21:15 -07:00
2024-05-06 14:22:02 -06:00
2024-02-27 14:46:34 -07:00
2024-05-06 14:22:02 -06:00
2023-12-18 13:28:08 -07:00