All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] fdt: nios: Fix warning in ft_cpu_setup()
Date: Sat, 04 Apr 2015 16:38:55 +0800	[thread overview]
Message-ID: <551FA31F.2030205@wytron.com.tw> (raw)
In-Reply-To: <1428105444-11077-1-git-send-email-sjg@chromium.org>

Hi Simon,

On 2015?04?04? 07:57, Simon Glass wrote:
> This function should not return a value.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>   arch/nios2/cpu/fdt.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/arch/nios2/cpu/fdt.c b/arch/nios2/cpu/fdt.c
> index 5024682..79f72aa 100644
> --- a/arch/nios2/cpu/fdt.c
> +++ b/arch/nios2/cpu/fdt.c
> @@ -34,7 +34,5 @@ void ft_cpu_setup(void *blob, bd_t *bd)
>   	 * Note: aliases in the dts are required for this
>   	 */
>   	fdt_fixup_ethernet(blob);
> -
> -	return 0;
>   }
>   #endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */
>

Acked-by: Thomas Chou <thomas@wytron.com.tw>

  reply	other threads:[~2015-04-04  8:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03 23:57 [U-Boot] [PATCH] fdt: nios: Fix warning in ft_cpu_setup() Simon Glass
2015-04-04  8:38 ` Thomas Chou [this message]
2015-04-10 21:26   ` Simon Glass

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=551FA31F.2030205@wytron.com.tw \
    --to=thomas@wytron.com.tw \
    --cc=u-boot@lists.denx.de \
    /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.