Module: xenomai-2.6
Branch: master
Commit: a540e611bd9d8163eee28558c3efae2ad4ba3e5c
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=a540e611bd9d8163eee28558c3efae2ad4ba3e5c

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Dec 14 18:51:03 2012 +0100

hal/generic: fix return type for local vm_mmap

---

 include/asm-generic/wrappers.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index 20a95fa..c2ed2b5 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -716,7 +716,7 @@ unsigned long vm_mmap(struct file *file, unsigned long addr,
        unsigned long flag, unsigned long offset)
 {
        struct mm_struct *mm = current->mm;
-       int ret;
+       unsigned long ret;
 
        down_write(&mm->mmap_sem);
        ret = do_mmap(file, addr, len, prot, flag, offset);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to