Re: [PATCH v2] mtd: virt-concat: free duplicate generated name
Miquel Raynal <[email protected]>
| Newsgroups | org.infradead.lists.linux-mtd,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 26 Jun 2026 10:13:38 +0800, raoxu wrote:
> Every MTD registration runs mtd_virt_concat_create_join(). Once a
> virtual concat has already been registered, the function builds the same
> name again and takes the equal-name branch. That branch skips to the
> next item without freeing the newly allocated string.
>
> Free the temporary name before continuing.
>
> [...]
Applied to mtd/fixes, thanks!
[1/1] mtd: virt-concat: free duplicate generated name
commit: caa0ecbeff4f7fbf70f22bd8ca598918bffb1b78
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/