On Thu, Jun 29, 2023 at 09:24:05PM +0800, Yiyuan Guo wrote: > The struct cros_ec_command contains several integer fields and a > trailing array. An allocation size neglecting the integer fields can > lead to buffer overrun. > > Signed-off-by: Yiyuan Guo <yguoaz@xxxxxxxxx> Better prefix the commit title with "iio: cros_ec:". With that: Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>