[PATCH v3 1/2] mtd: Replace kcalloc() with devm_kcalloc()
Miquel Raynal
miquel.raynal at bootlin.com
Fri Feb 7 06:46:25 PST 2025
On Wed, 05 Feb 2025 02:31:40 +0000, Jiasheng Jiang wrote:
> Replace kcalloc() with devm_kcalloc() to prevent memory leaks in case of
> errors.
>
>
Applied to mtd/next, thanks!
[1/2] mtd: Replace kcalloc() with devm_kcalloc()
commit: c76f83f2e834101660090406ba925526d5f27c07
[2/2] mtd: Add check for devm_kcalloc()
commit: d132814fd6fd2ecb3618577f266611ca10d67611
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
More information about the linux-mtd
mailing list