2010-11-01 08:06:47

by Hans-Christian Egtvedt

[permalink] [raw]
Subject: Re: [PATCH 3/6] avr32: fix handling of blocked signals

On Tue, 2010-09-28 at 03:57 +0100, Al Viro wrote:
> We do _not_ want to block anything on failure to set sigframe up
> and we do not want to ignore sa_mask even when SA_NODOFER is set.
>
> Signed-off-by: Al Viro <[email protected]>
> ---
> arch/avr32/kernel/signal.c | 26 +++++++++++---------------
> 1 files changed, 11 insertions(+), 15 deletions(-)
>
> diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
> index 8c481fb..52affae 100644
> --- a/arch/avr32/kernel/signal.c
> +++ b/arch/avr32/kernel/signal.c
> @@ -231,28 +231,24 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
> /*
> * Set up the stack frame
> */
> - ret = setup_rt_frame(sig, ka, info, oldset, regs);

Nuke the local ret variable in the same go.

<snipp>

--
Hans-Christian Egtvedt