All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] FPGA: drivers/fpga/ivm_core.c: incorrect printf
@ 2017-04-15 13:15 Heinrich Schuchardt
  2017-04-15 16:12 ` Tom Rini
  2017-04-19 13:04 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2017-04-15 13:15 UTC (permalink / raw)
  To: u-boot

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>
---
 drivers/fpga/ivm_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-19 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-15 13:15 [U-Boot] [PATCH] FPGA: drivers/fpga/ivm_core.c: incorrect printf Heinrich Schuchardt
2017-04-15 16:12 ` Tom Rini
2017-04-19 13:04 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.