public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org
Subject: Re: [S390] system call cleanup.
Date: Tue, 6 Mar 2007 07:27:06 +0000	[thread overview]
Message-ID: <20070306072706.GA22458@infradead.org> (raw)
In-Reply-To: <20070305224320.GL22630@skybase>

> +	struct pt_regs *regs = task_pt_regs(current);
> +	char *filename;
> +	unsigned long result;
> +	int rc;
> +
> +	filename = getname(compat_ptr(regs->orig_gpr2));
> +	if (IS_ERR(filename)) {
> +		result = PTR_ERR(filename);
>                  goto out;

The old code here..

> +	struct pt_regs *regs = task_pt_regs(current);
>          unsigned long clone_flags;
>          unsigned long newsp;
>  	int __user *parent_tidptr, *child_tidptr;

..and here..

> +asmlinkage long sys_clone(void)
>  {
> +	struct pt_regs *regs = task_pt_regs(current);
>          unsigned long clone_flags;
>          unsigned long newsp;
>  	int __user *parent_tidptr, *child_tidptr;

..and here used spaces instead of tabs, it would be nice to clean this
up while you're at it.


  reply	other threads:[~2007-03-06  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05 22:43 [S390] system call cleanup Martin Schwidefsky
2007-03-06  7:27 ` Christoph Hellwig [this message]
2007-03-06  9:21   ` Martin Schwidefsky

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=20070306072706.GA22458@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=schwidefsky@de.ibm.com \
    /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