[PATCH 0/2] kunit: fix minor error path mistakes

From: Wander Lairson Costa
Date: Thu Apr 18 2024 - 09:18:20 EST


Hi,

These two patches fix some minor error path mistakes in the device
module.

Wander Lairson Costa (2):
kunit: unregister the device on error
kunit: avoid memory leak on device register error

lib/kunit/device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
2.44.0