summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2015-12-23 12:08:09 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:53:38 +0800
commitfa76dda1e70e44292f0773d649eeb1df5553329a (patch)
treee72d1922d1cfa68e6bc991f1587d12b4364274f8 /.checkpatch.conf
parentf4a21b2f99cf8d977d9a0b270e4c997f623e74e9 (diff)
downloadu-boot-imx-fa76dda1e70e44292f0773d649eeb1df5553329a.zip
u-boot-imx-fa76dda1e70e44292f0773d649eeb1df5553329a.tar.gz
u-boot-imx-fa76dda1e70e44292f0773d649eeb1df5553329a.tar.bz2
common: nvedit: use snprintf instead of sprintf
Use snprintf to replace sprintf. Coverity log: " Unbounded source buffer (STRING_SIZE) string_size: Passing string init_val of unknown size to sprintf. " Reported-by: Coverity Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> (cherry picked from commit 5d49b4cdf9417b88476567c8ec78ff185d84b10f)
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions