Hi,
These two patches fix some minor error path mistakes in the device module.
Changes: --------
v1->v2: * Add fixes tag. * Add an imperative statement in the first commit descripton.
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(-)