All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shenlin Liang <liangshenlin@eswincomputing.com>
To: u-boot@lists.denx.de
Cc: zhuwenjun@eswincomputing.com, zhangdongdong@eswincomputing.com,
	zhengyu@eswincomputing.com, jinyanjiang@eswincomputing.com,
	Shenlin Liang <liangshenlin@eswincomputing.com>
Subject: [PATCH 1/1] common:autoboot:modify function parameters
Date: Fri,  2 Dec 2022 12:53:48 +0800	[thread overview]
Message-ID: <20221202045348.1634-2-liangshenlin@eswincomputing.com> (raw)
In-Reply-To: <20221202045348.1634-1-liangshenlin@eswincomputing.com>

the blob parameter of the function process_fdt_options has not been
invoked in the function body and should be changed to void type

Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com>
---
 common/autoboot.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/autoboot.c b/common/autoboot.c
index ea44fdf6ad..848c33b2f2 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -422,7 +422,7 @@ static int abortboot(int bootdelay)
 	return abort;
 }
 
-static void process_fdt_options(const void *blob)
+static void process_fdt_options(void)
 {
 #ifdef CONFIG_TEXT_BASE
 	ulong addr;
@@ -474,7 +474,7 @@ const char *bootdelay_process(void)
 		s = env_get("bootcmd");
 
 	if (IS_ENABLED(CONFIG_OF_CONTROL))
-		process_fdt_options(gd->fdt_blob);
+		process_fdt_options();
 	stored_bootdelay = bootdelay;
 
 	return s;
-- 
2.31.1.windows.1


  reply	other threads:[~2022-12-02 12:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02  4:53 [PATCH 0/1] common:autoboot:modify function parameters Shenlin Liang
2022-12-02  4:53 ` Shenlin Liang [this message]
2022-12-04 21:17   ` [PATCH 1/1] " Simon Glass
2023-01-12 15:17   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221202045348.1634-2-liangshenlin@eswincomputing.com \
    --to=liangshenlin@eswincomputing.com \
    --cc=jinyanjiang@eswincomputing.com \
    --cc=u-boot@lists.denx.de \
    --cc=zhangdongdong@eswincomputing.com \
    --cc=zhengyu@eswincomputing.com \
    --cc=zhuwenjun@eswincomputing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.