lkml.org 
[lkml]   [2024]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] kunit: fix minor error path mistakes
Date
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(-)

--
2.44.0


\
 
 \ /
  Last update: 2024-05-27 16:46    [W:0.025 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site