summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-04-15 15:15:40 +0200
committerTom Rini <trini@konsulko.com>2017-04-18 10:29:23 -0400
commitea1e3f96c3666245b3651ab8022738763b97e6a8 (patch)
tree8e920bb239ec0104d330ac33221d2ecb70569e96 /drivers/fpga
parent73be5b3fa73e329ad0d9e12db427cd665e1a483c (diff)
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 <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/ivm_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/ivm_core.c b/drivers/fpga/ivm_core.c
index 03aea625d58..78e9cc46ace 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;