[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210823080625.GE3@paasikivi.fi.intel.com>
Date: Mon, 23 Aug 2021 11:06:25 +0300
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: CGEL <cgel.zte@...il.com>
Cc: Bingbu Cao <bingbu.cao@...el.com>,
Tianshu Qiu <tian.shu.qiu@...el.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-media@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
jing yangyang <jing.yangyang@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH linux-next] ipu3: use flexible-array member instead of
zero-length array
Hi Jing,
On Fri, Aug 20, 2021 at 08:47:09PM -0700, CGEL wrote:
> From: jing yangyang <jing.yangyang@....com.cn>
>
> Fix the following coccicheck warning:
> ./drivers/staging/media/ipu3/ipu3-css-fw.h:174:21-34:i
> WARNING: use flexible-array member instead
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: jing yangyang <jing.yangyang@....com.cn>
Thanks for the patch.
Gustavo Silva's patch "media: staging/intel-ipu3: css: Fix wrong size
comparison imgu_css_fw_init" has addressed this, and fixed another problem
as well. In other words, removing array entries from structs can have side
effects.
--
Kind regards,
Sakari Ailus
Powered by blists - more mailing lists