Messages in this thread Patch in this message | | | Date | Wed, 8 Sep 2004 09:17:56 -0400 | Subject | [PATCH 2.6.9-rc1] Coda - fix sparse warnings | From | Jan Harkes <> |
| |
I reused the coda_file_read wrapper for sendfile and accidentally left the __user tag on the buffer. This patch should fix the sparse warnings.
Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
diff -urN --exclude '*.orig' linux-2.6.9-rc1-bk7.coda_sendfile/fs/coda/file.c linux-2.6.9-rc1-bk7.coda_sendfile2/fs/coda/file.c --- linux-2.6.9-rc1-bk7.coda_sendfile/fs/coda/file.c 2004-09-01 12:15:15.000000000 -0400 +++ linux-2.6.9-rc1-bk7.coda_sendfile2/fs/coda/file.c 2004-09-08 09:07:53.000000000 -0400 @@ -46,7 +46,7 @@ static ssize_t coda_file_sendfile(struct file *coda_file, loff_t *ppos, size_t count, - read_actor_t actor, void __user *target) + read_actor_t actor, void *target) { struct coda_file_info *cfi; struct file *host_file; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |