projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3369465
)
um: Fix kmalloc argument order in um/vdso/vma.c
author
Dave Jones
<davej@redhat.com>
Mon, 24 Oct 2011 22:15:32 +0000
(18:15 -0400)
committer
Richard Weinberger
<richard@nod.at>
Wed, 2 Nov 2011 13:15:42 +0000
(14:15 +0100)
kmalloc size is 1st arg, not second.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Cc: <stable@kernel.org> # 3.0.x
[richard@nod.at: on 3.0 the to be patched file is
arch/um/sys-x86_64/vdso/vma.c]
arch/x86/um/vdso/vma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/um/vdso/vma.c
b/arch/x86/um/vdso/vma.c
index 9495c8d0ce37e9e3ca22c5645c4aef3d2135d0e9..91f4ec9a0a56eb2997e51ee339877656be7d6174 100644
(file)
--- a/
arch/x86/um/vdso/vma.c
+++ b/
arch/x86/um/vdso/vma.c
@@
-28,7
+28,7
@@
static int __init init_vdso(void)
um_vdso_addr = task_size - PAGE_SIZE;
- vdsop = kmalloc(
GFP_KERNEL, sizeof(struct page *)
);
+ vdsop = kmalloc(
sizeof(struct page *), GFP_KERNEL
);
if (!vdsop)
goto oom;