Re: [PATCH v3 2/3] spi: Replace memset() with __GFP_ZERO

From: Andy Shevchenko
Date: Tue Nov 23 2021 - 12:03:34 EST


On Tue, Nov 23, 2021 at 7:01 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> krealloc() as any other kernel memory allocation calls accepts GFP flags,
> one of which is __GFP_ZERO. Hence, no need to call memset() explicitly on
> the reallocated buffer.

This one is already applied, seconds before I have sent it.

--
With Best Regards,
Andy Shevchenko