Re: [PATCH 2/5] create compat_writev()
From: Arnd Bergmann
Date: Fri Jan 16 2009 - 12:28:25 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/