projects
/
GitHub
/
LineageOS
/
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:
b2b7910
)
ACPI: bay: fix 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
Len Brown
<len.brown@intel.com>
Fri, 9 Feb 2007 18:04:58 +0000
(13:04 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bay.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/bay.c
b/drivers/acpi/bay.c
index 9fdee610ae05351c7da4ed1bc37bb96b956d6608..73dc10db4a8880833dbbf3f488a37db2c359e7c8 100644
(file)
--- a/
drivers/acpi/bay.c
+++ b/
drivers/acpi/bay.c
@@
-276,7
+276,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;