All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga()
@ 2023-01-24 10:55 Simon Glass
  2023-01-24 11:40 ` Oleksandr Suvorov
  2023-02-07 16:53 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Glass @ 2023-01-24 10:55 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Stefan Herbrechtsmeier, Simon Glass, Michal Simek,
	Oleksandr Suvorov, Stefan Herbrechtsmeier

This was added by mistake and renders the function useless. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 33c60a38bb9 ("trace: Use notrace for short")
Reported-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>
---

 common/spl/spl_fit.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index 9ae3e5e35d4..c51482b3b65 100644
--- a/common/spl/spl_fit.c
+++ b/common/spl/spl_fit.c
@@ -591,7 +591,6 @@ static int spl_fit_upload_fpga(struct spl_fit_info *ctx, int node,
 			debug("Ignoring compatible = %s property\n",
 			      compatible);
 	}
-	return 0;
 
 	ret = fpga_load(devnum, (void *)fpga_image->load_addr,
 			fpga_image->size, BIT_FULL, flags);
-- 
2.39.0.246.g2a6d74b583-goog


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

* Re: [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga()
  2023-01-24 10:55 [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga() Simon Glass
@ 2023-01-24 11:40 ` Oleksandr Suvorov
  2023-02-07 16:53 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Oleksandr Suvorov @ 2023-01-24 11:40 UTC (permalink / raw)
  To: Simon Glass
  Cc: U-Boot Mailing List, Tom Rini, Stefan Herbrechtsmeier,
	Michal Simek, Oleksandr Suvorov, Stefan Herbrechtsmeier

On Tue, Jan 24, 2023 at 12:56 PM Simon Glass <sjg@chromium.org> wrote:
>
> This was added by mistake and renders the function useless. Fix it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Fixes: 33c60a38bb9 ("trace: Use notrace for short")
> Reported-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>

> ---
>
>  common/spl/spl_fit.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
> index 9ae3e5e35d4..c51482b3b65 100644
> --- a/common/spl/spl_fit.c
> +++ b/common/spl/spl_fit.c
> @@ -591,7 +591,6 @@ static int spl_fit_upload_fpga(struct spl_fit_info *ctx, int node,
>                         debug("Ignoring compatible = %s property\n",
>                               compatible);
>         }
> -       return 0;
>
>         ret = fpga_load(devnum, (void *)fpga_image->load_addr,
>                         fpga_image->size, BIT_FULL, flags);
> --
> 2.39.0.246.g2a6d74b583-goog
>


-- 
Best regards
Oleksandr

Oleksandr Suvorov
cryosay@gmail.com

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

* Re: [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga()
  2023-01-24 10:55 [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga() Simon Glass
  2023-01-24 11:40 ` Oleksandr Suvorov
@ 2023-02-07 16:53 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2023-02-07 16:53 UTC (permalink / raw)
  To: Simon Glass
  Cc: U-Boot Mailing List, Stefan Herbrechtsmeier, Michal Simek,
	Oleksandr Suvorov, Stefan Herbrechtsmeier

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

On Tue, Jan 24, 2023 at 03:55:10AM -0700, Simon Glass wrote:

> This was added by mistake and renders the function useless. Fix it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Fixes: 33c60a38bb9 ("trace: Use notrace for short")
> Reported-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>
> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2023-02-07 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 10:55 [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga() Simon Glass
2023-01-24 11:40 ` Oleksandr Suvorov
2023-02-07 16:53 ` 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.