[PATCH 1/3] mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcalloc
Miquel Raynal
miquel.raynal at bootlin.com
Sun Jan 23 07:43:44 PST 2022
Hello,
s921975628 at gmail.com wrote on Sat, 25 Dec 2021 18:06:07 +0800:
> From: RinHizakura <s921975628 at gmail.com>
>
> Instead of self-checking overflow and allocating an array of specific size
> by counting the total required space handy, we already have existed kernel
> API which responses for all these works.
>
> Signed-off-by: RinHizakura <s921975628 at gmail.com>
Series applied to nand/next.
Thanks,
Miquèl
More information about the linux-mtd
mailing list