* [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
* [U-Boot] [PATCH] FPGA: drivers/fpga/ivm_core.c: incorrect printf
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
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-04-15 16:12 UTC (permalink / raw)
To: u-boot
On Sat, Apr 15, 2017 at 03:15:40PM +0200, Heinrich Schuchardt wrote:
> 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>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170415/33702b43/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] FPGA: drivers/fpga/ivm_core.c: incorrect printf
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 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-04-19 13:04 UTC (permalink / raw)
To: u-boot
On Sat, Apr 15, 2017 at 03:15:40PM +0200, xypron.glpk at gmx.de wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170419/46319914/attachment.sig>
^ permalink raw reply [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.