Thread (14 messages) flat view 14 messages, 5 authors, 2009-01-21

Re: [PATCH 2/5] create compat_writev()

From: Arnd Bergmann <arnd@arndb.de>
Date: 2009-01-16 17:28:24
Also in: linux-arch, lkml

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 <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help