[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2117882647.202013.1640466553090.JavaMail.zimbra@nod.at>
Date: Sat, 25 Dec 2021 22:09:13 +0100 (CET)
From: Richard Weinberger <richard@....at>
To: s921975628@...il.com
Cc: Vignesh Raghavendra <vigneshr@...com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
linux-mtd <linux-mtd@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] mtd: rawnand: nandsim: Replace overflow check with
kzalloc to single kcalloc
----- Ursprüngliche Mail -----
> Von: s921975628@...il.com
> An: "richard" <richard@....at>, "Vignesh Raghavendra" <vigneshr@...com>, "Miquel Raynal" <miquel.raynal@...tlin.com>
> CC: "linux-mtd" <linux-mtd@...ts.infradead.org>, "linux-kernel" <linux-kernel@...r.kernel.org>, "RinHizakura"
> <s921975628@...il.com>
> Gesendet: Samstag, 25. Dezember 2021 11:06:07
> Betreff: [PATCH 1/3] mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcalloc
> From: RinHizakura <s921975628@...il.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@...il.com>
Reviewed-by: Richard Weinberger <richard@....at>
Thanks,
//richard
Powered by blists - more mailing lists