public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] kunit: fix minor error path mistakes
@ 2024-04-19 13:25 Wander Lairson Costa
  2024-04-19 13:25 ` [PATCH v4 1/2] kunit: unregister the device on error Wander Lairson Costa
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Wander Lairson Costa @ 2024-04-19 13:25 UTC (permalink / raw)
  To: Brendan Higgins, David Gow, Rae Moar, Matti Vaittinen,
	Greg Kroah-Hartman, Shuah Khan, Maxime Ripard,
	open list:KERNEL UNIT TESTING FRAMEWORK (KUnit),
	open list:KERNEL UNIT TESTING FRAMEWORK (KUnit), open list
  Cc: Wander Lairson Costa

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-23  8:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 13:25 [PATCH v4 0/2] kunit: fix minor error path mistakes Wander Lairson Costa
2024-04-19 13:25 ` [PATCH v4 1/2] kunit: unregister the device on error Wander Lairson Costa
2024-04-19 14:04   ` Greg Kroah-Hartman
2024-04-19 16:32     ` Markus Elfring
2024-04-20  6:27       ` Greg Kroah-Hartman
2024-04-19 13:25 ` [PATCH v4 2/2] kunit: avoid memory leak on device register error Wander Lairson Costa
2024-04-19 14:03   ` Greg Kroah-Hartman
2024-04-19 14:11     ` Wander Lairson Costa
2024-04-23  8:00       ` David Gow
2024-04-19 16:18 ` [PATCH v4 0/2] kunit: fix minor error path mistakes Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox