]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
FPGA: drivers/fpga/ivm_core.c: incorrect printf
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sat, 15 Apr 2017 13:15:40 +0000 (15:15 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Apr 2017 14:29:23 +0000 (10:29 -0400)
The number of arguments for printf does not match the
format string.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/fpga/ivm_core.c

index 03aea625d58983fd3802dcd059fadcd362cbb857..78e9cc46ace5e218d389b4fa8b674b19b4957963 100644 (file)
@@ -3142,7 +3142,7 @@ signed char ispVMProcessLVDS(unsigned short a_usLVDSCount)
        }
 
 #ifdef DEBUG
-       printf(");\n", a_usLVDSCount);
+       printf(");\n");
 #endif /* DEBUG */
 
        return 0;