From: Arun Sharma <arun.sharma@intel.com>


Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/fs/binfmt_elf.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/binfmt_elf.c~kill-a-sparse-warning-in-binfmt_elfc fs/binfmt_elf.c
--- 25/fs/binfmt_elf.c~kill-a-sparse-warning-in-binfmt_elfc	Wed Oct  6 17:06:15 2004
+++ 25-akpm/fs/binfmt_elf.c	Wed Oct  6 17:06:15 2004
@@ -1032,7 +1032,7 @@ out:
  */
 static int dump_write(struct file *file, const void *addr, int nr)
 {
-	return file->f_op->write(file, addr, nr, &file->f_pos) == nr;
+	return file->f_op->write(file, (const char __user *) addr, nr, &file->f_pos) == nr;
 }
 
 static int dump_seek(struct file *file, off_t off)
_