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

From: Javier Martinez Canillas
Date: Tue May 05 2015 - 12:15:19 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/