Re: [PATCH v3 1/2] kunit: unregister the device on error

From: Markus Elfring
Date: Fri Apr 19 2024 - 01:41:35 EST


> kunit_init_device() should unregister the device on bus register error,
> but mistakenly it tries to unregister the bus.

Would the following description variant be more appropriate?

kunit_init_device() should unregister the device on bus registration error.
But it mistakenly tries to unregister the bus.


Regards,
Markus