summaryrefslogtreecommitdiff
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-02-28 11:39:42 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-28 14:56:34 -0800
commit98dd3b2a3ad2b234ac9c6e7a233dde21e6e37da6 (patch)
treec119ff8463f8c43f3199c3a8f58f47fee1db5bb7 /drivers/staging/dgap
parentb6d8115e4ef497fde9363a72716793399a1060c2 (diff)
imx-drm: imx-ldb: Use snprintf()
Use snprintf() in order to 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@oracle.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap')
0 files changed, 0 insertions, 0 deletions