Re: [RESEND PATCH 4/8] mfd: cros_ec: Use a zero-length array for command data

Javier Martinez Canillas
2015-05-05T16:11:30Z

Hello Gwendal,

Thanks a lot for your feedback.

On 04/24/2015 07:19 AM, Gwendal Grignou wrote:
> In general we can use kmalloc instead of kzalloc. Also some commands
> do not need malloc at all. We could allocate on stack for known small
> commands and for the keyboard case use the caller argument.
>

Sure, I'll do all the changes that you suggested when respinning the patches.

> Gwendal.
>

Best regards,
Javier