All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] sandbox: fix sandbox_cmdline_cb_test_fdt()
@ 2020-12-25 15:04 Heinrich Schuchardt
  2020-12-29  3:32 ` Simon Glass
  2021-01-23 17:27 ` Simon Glass
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2020-12-25 15:04 UTC (permalink / raw)
  To: u-boot

fmt does not foresee any parameter.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 arch/sandbox/cpu/start.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index f6c98545e0..6d27f13875 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -213,7 +213,7 @@ static int sandbox_cmdline_cb_test_fdt(struct sandbox_state *state,
 	if (!p)
 		p = fname + strlen(fname);
 	len -= p - fname;
-	snprintf(p, len, fmt, p);
+	snprintf(p, len, fmt);
 	state->fdt_fname = fname;

 	return 0;
--
2.29.2

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

* [PATCH 1/1] sandbox: fix sandbox_cmdline_cb_test_fdt()
  2020-12-25 15:04 [PATCH 1/1] sandbox: fix sandbox_cmdline_cb_test_fdt() Heinrich Schuchardt
@ 2020-12-29  3:32 ` Simon Glass
  2021-01-23 17:27 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2020-12-29  3:32 UTC (permalink / raw)
  To: u-boot

On Fri, 25 Dec 2020 at 08:04, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> fmt does not foresee any parameter.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  arch/sandbox/cpu/start.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

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

* [PATCH 1/1] sandbox: fix sandbox_cmdline_cb_test_fdt()
  2020-12-25 15:04 [PATCH 1/1] sandbox: fix sandbox_cmdline_cb_test_fdt() Heinrich Schuchardt
  2020-12-29  3:32 ` Simon Glass
@ 2021-01-23 17:27 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-01-23 17:27 UTC (permalink / raw)
  To: u-boot

On Fri, 25 Dec 2020 at 08:04, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> fmt does not foresee any parameter.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  arch/sandbox/cpu/start.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!

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

end of thread, other threads:[~2021-01-23 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25 15:04 [PATCH 1/1] sandbox: fix sandbox_cmdline_cb_test_fdt() Heinrich Schuchardt
2020-12-29  3:32 ` Simon Glass
2021-01-23 17:27 ` Simon Glass

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.