Re: [PATCH v2] ubi: block: fix memleak in ubiblock_create()

From: Li Nan
Date: Sun Apr 14 2024 - 21:32:26 EST




在 2024/4/14 17:16, Markus Elfring 写道:
Can it be nicer to use the term “memory leak” instead of “memleak”
in the patch subject?



'gd' will not be put anymore. Fix it by putting 'gd' directly.

Would the following wording variant be more desirable?

… anymore.
Thus pass the variable “gd” to a put_disk() call directly.


Would you like to add the tag “Fixes” accordingly?


The patch has already been applied:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=adbf4c4954e33e623897058a617c583d65a177f6

Thank you very much for your suggestion. I will pay attention to them in
future patches.

Regards,
Markus
.

--
Thanks,
Nan