[PATCH v3 3/6] imx-drm: imx-ldb: Fix array length

Fabio Estevam festevam at gmail.com
Wed Feb 26 22:48:41 UTC 2014

On Wed, Feb 26, 2014 at 7:44 PM, Fabio Estevam <festevam at gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> Fix the following static checker warning:
> drivers/staging/imx-drm/imx-ldb.c:340 imx_ldb_get_clk() error: format string overflow. buf_size: 16 length: 18
> probably 18 is theory and not real life, but 16 is based on
> theory as well.
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

Ops, I should have changed the Subject.

Will send a v4 tomorrow.

More information about the devel mailing list