Re: [PATCH] sh: sh4: Fix reference count leak in sq_dev_add

From: Markus Elfring
Date: Sat Jul 25 2020 - 07:28:54 EST


> kobject_init_and_add() takes reference even when it fails. If this
> function returns an error, kobject_put() must be called to properly
> clean up the memory associated with the object.

* An imperative wording can be preferred for the change description,
can't it?

* Would you like to add the tag âFixesâ to the commit message?

Regards,
Markus