Re: [PATCH v1 1/1] MIPS: Alchemy: Switch to use kmemdup_array()

From: Thomas Bogendoerfer
Date: Tue Jun 11 2024 - 06:55:52 EST


On Thu, Jun 06, 2024 at 07:51:45PM +0300, Andy Shevchenko wrote:
> Let the kememdup_array() take care about multiplication and possible
> overflows.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> arch/mips/alchemy/common/platform.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]