Re: [PATCH 1/3] mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcalloc

From: Miquel Raynal
Date: Sun Jan 23 2022 - 10:43:52 EST


Hello,

s921975628@xxxxxxxxx wrote on Sat, 25 Dec 2021 18:06:07 +0800:

> From: RinHizakura <s921975628@xxxxxxxxx>
>
> 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@xxxxxxxxx>

Series applied to nand/next.

Thanks,
Miquèl