* [PATCH] mn10300: Fix pull clearing RESTORE_SIGMASK into block_sigmask() fallout
@ 2012-06-20 19:19 Geert Uytterhoeven
2012-07-13 20:50 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2012-06-20 19:19 UTC (permalink / raw)
To: Al Viro, David Howells, Koichi Yasutake
Cc: linux-am33-list, linux-kernel, Geert Uytterhoeven
commit a610d6e672d6d3723e8da257ad4a8a288a8f2f89 ("pull clearing
RESTORE_SIGMASK into block_sigmask()") caused:
arch/mn10300/kernel/signal.c: In function 'handle_signal':
arch/mn10300/kernel/signal.c:462:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
Add the missing return values, and restore the indentation while we're at
it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
arch/mn10300/kernel/signal.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c
index 6ab0bee..4d584ae 100644
--- a/arch/mn10300/kernel/signal.c
+++ b/arch/mn10300/kernel/signal.c
@@ -459,10 +459,11 @@ static int handle_signal(int sig,
else
ret = setup_frame(sig, ka, oldset, regs);
if (ret)
- return;
+ return ret;
signal_delivered(sig, info, ka, regs,
- test_thread_flag(TIF_SINGLESTEP));
+ test_thread_flag(TIF_SINGLESTEP));
+ return 0;
}
/*
--
1.7.0.4
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] mn10300: Fix pull clearing RESTORE_SIGMASK into block_sigmask() fallout
2012-06-20 19:19 [PATCH] mn10300: Fix pull clearing RESTORE_SIGMASK into block_sigmask() fallout Geert Uytterhoeven
@ 2012-07-13 20:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2012-07-13 20:50 UTC (permalink / raw)
To: Al Viro, David Howells, Koichi Yasutake
Cc: linux-am33-list, linux-kernel, Geert Uytterhoeven, Andrew Morton
Ping?
On Wed, Jun 20, 2012 at 9:19 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> commit a610d6e672d6d3723e8da257ad4a8a288a8f2f89 ("pull clearing
> RESTORE_SIGMASK into block_sigmask()") caused:
>
> arch/mn10300/kernel/signal.c: In function 'handle_signal':
> arch/mn10300/kernel/signal.c:462:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
>
> Add the missing return values, and restore the indentation while we're at
> it.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> arch/mn10300/kernel/signal.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c
> index 6ab0bee..4d584ae 100644
> --- a/arch/mn10300/kernel/signal.c
> +++ b/arch/mn10300/kernel/signal.c
> @@ -459,10 +459,11 @@ static int handle_signal(int sig,
> else
> ret = setup_frame(sig, ka, oldset, regs);
> if (ret)
> - return;
> + return ret;
>
> signal_delivered(sig, info, ka, regs,
> - test_thread_flag(TIF_SINGLESTEP));
> + test_thread_flag(TIF_SINGLESTEP));
> + return 0;
> }
>
> /*
> --
> 1.7.0.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-13 20:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20 19:19 [PATCH] mn10300: Fix pull clearing RESTORE_SIGMASK into block_sigmask() fallout Geert Uytterhoeven
2012-07-13 20:50 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®