mbox series

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

Message ID 20240418210236.194190-1-wander@redhat.com
Headers show
Series kunit: fix minor error path mistakes | expand

Message

Wander Lairson Costa April 18, 2024, 9:02 p.m. UTC
Hi,

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

Changes
-------

v1->v2
* Add fixes tag
* Add imperative statement in the commit description
v2->v3
* Add a goto exit label kunit_device_register_internal

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

 lib/kunit/device.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)