linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] nios2: clocksource: Fix build error
@ 2016-06-15  4:02 Guenter Roeck
  2016-06-15 11:27 ` Daniel Lezcano
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-06-15  4:02 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: linux-kernel, Guenter Roeck

gcc has trouble parsing returen.

Fixes: 3e23d81046936 ("clocksource/drivers/nios2: Convert init function to return error")
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 arch/nios2/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c
index f3686f038996..f337eefdccbd 100644
--- a/arch/nios2/kernel/time.c
+++ b/arch/nios2/kernel/time.c
@@ -303,7 +303,7 @@ static __init int nios2_clocksource_init(struct device_node *timer)
 	/* Calibrate the delay loop directly */
 	lpj_fine = freq / HZ;
 
-	returen 0;
+	return 0;
 }
 
 /*
-- 
2.5.0

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

* Re: [PATCH -next] nios2: clocksource: Fix build error
  2016-06-15  4:02 [PATCH -next] nios2: clocksource: Fix build error Guenter Roeck
@ 2016-06-15 11:27 ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2016-06-15 11:27 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-kernel

On 06/15/2016 06:02 AM, Guenter Roeck wrote:
> gcc has trouble parsing returen.
>
> Fixes: 3e23d81046936 ("clocksource/drivers/nios2: Convert init function to return error")
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>   arch/nios2/kernel/time.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c
> index f3686f038996..f337eefdccbd 100644
> --- a/arch/nios2/kernel/time.c
> +++ b/arch/nios2/kernel/time.c
> @@ -303,7 +303,7 @@ static __init int nios2_clocksource_init(struct device_node *timer)
>   	/* Calibrate the delay loop directly */
>   	lpj_fine = freq / HZ;
>
> -	returen 0;
> +	return 0;


Fixed, thanks !


-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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

end of thread, other threads:[~2016-06-15 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15  4:02 [PATCH -next] nios2: clocksource: Fix build error Guenter Roeck
2016-06-15 11:27 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).