projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53d9f1
)
[PATCH] aacraid: swapped kmalloc args.
author
Dave Jones
<davej@redhat.com>
Tue, 12 Jul 2005 20:58:08 +0000
(13:58 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 12 Jul 2005 23:00:58 +0000
(16:00 -0700)
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/aacraid/commctrl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/aacraid/commctrl.c
b/drivers/scsi/aacraid/commctrl.c
index 1fef92d55dee1097888c4b2b6f52eacc1611d210..390cd67c57c03fdbbc5bfe77177bbe6d85a8d1ff 100644
(file)
--- a/
drivers/scsi/aacraid/commctrl.c
+++ b/
drivers/scsi/aacraid/commctrl.c
@@
-469,7
+469,7
@@
static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
goto cleanup;
}
- user_srbcmd = kmalloc(
GFP_KERNEL, fibsize
);
+ user_srbcmd = kmalloc(
fibsize, GFP_KERNEL
);
if (!user_srbcmd) {
dprintk((KERN_DEBUG"aacraid: Could not make a copy of the srb\n"));
rcode = -ENOMEM;