projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595e8fa
)
microblaze: Fix return value for sys_ipc
author
Michal Simek
<monstr@monstr.eu>
Thu, 30 Apr 2009 07:35:53 +0000
(09:35 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Fri, 1 May 2009 14:38:14 +0000
(16:38 +0200)
Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/sys_microblaze.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/sys_microblaze.c
b/arch/microblaze/kernel/sys_microblaze.c
index ba0568c2cc1c1f4a6eae443c4cd58b31abc8d984..31905ff590b704db07206f1d11d7acc84386d9ea 100644
(file)
--- a/
arch/microblaze/kernel/sys_microblaze.c
+++ b/
arch/microblaze/kernel/sys_microblaze.c
@@
-131,7
+131,7
@@
sys_ipc(uint call, int first, int second, int third, void *ptr, long fifth)
ret = sys_shmctl(first, second, (struct shmid_ds *) ptr);
break;
}
- return
-EINVAL
;
+ return
ret
;
}
asmlinkage int sys_vfork(struct pt_regs *regs)