[PATCH v3] mtd: core: Fix resource leak in a for_each_child_of_node() loop

Markus Elfring Markus.Elfring at web.de
Tue Jul 11 09:12:30 PDT 2023


> Ensure child node references are properly decremented in the error path
>   of this function implementation.

Will leading space characters be omitted (from my wording variant suggestion)
for the final commit message?


…
> ---
> v2: https://lore.kernel.org/all/20230710061412.2272-1-yangrong@vivo.com/
> The modifications made copared to the previous version are as follows:

How do you think about the omission of a line here
(so that a repeated typo can be avoided)?

Would the subsequent enumeration look a bit nicer if each text item
will be delimited by a space character?

Regards,
Markus



More information about the linux-mtd mailing list