Skip to content

kunit: fix minor error path mistakes

Wander Lairson Costa kernel-janitors linux-kselftest lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 7 repliesIn review
  2. v32 patches 8 repliesSuperseded
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches5 repliesSuperseded

v1->v2 from the cover letter

* Add fixes tag
* Add imperative statement in the commit description

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kunit: unregister the device on errorlib/kunit/device.c+1 -13 replies
2/2kunit: avoid memory leak on device register errorlib/kunit/device.c+1 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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(-)
Signature · 1 line
2.44.0