From 98dd3b2a3ad2b234ac9c6e7a233dde21e6e37da6 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Fri, 28 Feb 2014 11:39:42 -0300 Subject: [PATCH] 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 Signed-off-by: Fabio Estevam Acked-by: Philipp Zabel Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed