projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73be5b3
)
FPGA: drivers/fpga/ivm_core.c: incorrect printf
author
xypron.glpk@gmx.de
<xypron.glpk@gmx.de>
Sat, 15 Apr 2017 13:15:40 +0000
(15:15 +0200)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/fpga/ivm_core.c
b/drivers/fpga/ivm_core.c
index 03aea625d58983fd3802dcd059fadcd362cbb857..78e9cc46ace5e218d389b4fa8b674b19b4957963 100644
(file)
--- 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;