[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200901161828.15349.arnd@arndb.de>
Date: Fri, 16 Jan 2009 18:28:14 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Gerd Hoffmann <kraxel@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-api@...r.kernel.org, aarcange@...hat.com
Subject: Re: [PATCH 2/5] create compat_writev()
On Friday 16 January 2009, Gerd Hoffmann wrote:
> +asmlinkage ssize_t
> +compat_sys_writev(unsigned long fd, const struct compat_iovec __user *vec, unsigned long vlen)
> +{
> + struct file *file;
> + ssize_t ret;
> +
> + file = fget(fd);
> + if (!file)
> + return -EBADF;
> + ret = compat_writev(file, vec, vlen, &file->f_pos);
> + fput(file);
> + return ret;
> +}
This one still looks whitespace damaged, did you run the latest version
through checkpatch.pl?
Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists