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

Wander Lairson Costa posted 2 patches 2 weeks ago
lib/kunit/device.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
[PATCH v4 0/2] kunit: fix minor error path mistakes
Posted by Wander Lairson Costa 2 weeks ago
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
v3->v4
* Remove some changes requested by Marcus Elfring, as I was alerted he
is a known troll.

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(-)

-- 
2.44.0
Re: [PATCH v4 0/2] kunit: fix minor error path mistakes
Posted by Markus Elfring 2 weeks ago
…
> * Remove some changes requested by Marcus Elfring,

I became curious how affected software components can evolve further.


>   as I was alerted he is a known troll.

I would appreciate if this interpretation will be reconsidered somehow.

Regards,
Markus