From: xypron.glpk@gmx.de Date: Sat, 15 Apr 2017 13:15:40 +0000 (+0200) Subject: FPGA: drivers/fpga/ivm_core.c: incorrect printf X-Git-Tag: v2025.01-rc5-pxa1908~7154 X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=ea1e3f96c3666245b3651ab8022738763b97e6a8;p=u-boot.git FPGA: drivers/fpga/ivm_core.c: incorrect printf The number of arguments for printf does not match the format string. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini --- diff --git a/drivers/fpga/ivm_core.c b/drivers/fpga/ivm_core.c index 03aea625d5..78e9cc46ac 100644 --- a/drivers/fpga/ivm_core.c +++ b/drivers/fpga/ivm_core.c @@ -3142,7 +3142,7 @@ signed char ispVMProcessLVDS(unsigned short a_usLVDSCount) } #ifdef DEBUG - printf(");\n", a_usLVDSCount); + printf(");\n"); #endif /* DEBUG */ return 0;