public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: Andrew Morton <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/6] h8300 signal.c typo fix.
Date: Sat, 16 Feb 2008 01:21:49 -0500	[thread overview]
Message-ID: <87y79lzaiq.wl%ysato@users.sourceforge.jp> (raw)
In-Reply-To: <87ejbdo2dx.wl%ysato@users.sourceforge.jp>

Sorry.
I forget Signed-off.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

At Sat, 16 Feb 2008 01:12:58 -0500,
Yoshinori Sato wrote:
> 
> typo fix.
> 
>  arch/h8300/kernel/signal.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c
> index 62ea12d..cf3472f 100644
> --- a/arch/h8300/kernel/signal.c
> +++ b/arch/h8300/kernel/signal.c
> @@ -352,7 +352,7 @@ static void setup_frame (int sig, struct k_sigaction *ka,
>  		ret = (unsigned char *)(ka->sa.sa_restorer);
>  	else {
>  		/* sub.l er0,er0; mov.b #__NR_sigreturn,r0l; trapa #0 */
> -		err != __put_user(0x1a80f800 + (__NR_sigreturn & 0xff),
> +		err |= __put_user(0x1a80f800 + (__NR_sigreturn & 0xff),
>  				  (unsigned long *)(frame->retcode + 0));
>  		err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4));
>  	}
> @@ -428,7 +428,7 @@ static void setup_rt_frame (int sig, struct k_sigaction *ka, siginfo_t *info,
>  		ret = (unsigned char *)(ka->sa.sa_restorer);
>  	else {
>  		/* sub.l er0,er0; mov.b #__NR_sigreturn,r0l; trapa #0 */
> -		err != __put_user(0x1a80f800 + (__NR_sigreturn & 0xff),
> +		err |= __put_user(0x1a80f800 + (__NR_sigreturn & 0xff),
>  				  (unsigned long *)(frame->retcode + 0));
>  		err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4));
>  	}
> -- 
> 1.5.4.1
> 
> -- 
> Yoshinori Sato
> <ysato@users.sourceforge.jp>

      reply	other threads:[~2008-02-16  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-16  6:12 [PATCH 1/6] h8300 signal.c typo fix Yoshinori Sato
2008-02-16  6:21 ` Yoshinori Sato [this message]

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=87y79lzaiq.wl%ysato@users.sourceforge.jp \
    --to=ysato@users.sourceforge.jp \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox