Re: [PATCH] gpio: mockup: use devm_kcalloc() where applicable

From: Bartosz Golaszewski
Date: Fri Jun 09 2017 - 07:30:00 EST


2017-06-09 10:06 GMT+02:00 Linus Walleij <linus.walleij@xxxxxxxxxx>:
> On Thu, Jun 1, 2017 at 1:47 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
>> When allocating a zeroed array of objects use devm_kcalloc() instead
>> of manually calculating the required size and using devm_kzalloc().
>>
>> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
>
> This does not apply on the GPIO "devel" branch in my tree,
> probably because of other patches from you :)
>
> Could you rebase and resend?
>
> Yours,
> Linus Walleij

I thought you would apply the previous patches first, but sure, I'll resend.

Thanks,
Bartosz