projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6026179
)
[PATCH] wrong order of kzalloc arguments
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:05:07 +0000
(16:05 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 16:28:48 +0000
(08:28 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/bay.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/bay.c
b/drivers/acpi/bay.c
index 667fa1dfa1a361188607e82ce919b6528f270781..91082ce6f5d1de0e158704401c45d46590336afa 100644
(file)
--- a/
drivers/acpi/bay.c
+++ b/
drivers/acpi/bay.c
@@
-296,7
+296,7
@@
static int bay_add(acpi_handle handle, int id)
/*
* Initialize bay device structure
*/
- new_bay = kzalloc(
GFP_ATOMIC, sizeof(*new_bay)
);
+ new_bay = kzalloc(
sizeof(*new_bay), GFP_ATOMIC
);
INIT_LIST_HEAD(&new_bay->list);
new_bay->handle = handle;
new_bay->name = (char *)nbuffer.pointer;