projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6585c1b
)
[SCSI] iscsi_tcp: buggered kmalloc()
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 20 Jul 2007 15:03:40 +0000
(16:03 +0100)
committer
James Bottomley
<jejb@mulgrave.localdomain>
Fri, 20 Jul 2007 16:04:25 +0000
(11:04 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/iscsi_tcp.c
b/drivers/scsi/iscsi_tcp.c
index aebcd5fcdc5518e012bf0ff425616ffcb7cd8cfe..7829ab1e2fb46d5bf350c9c6d54d0ff9dec4a01a 100644
(file)
--- a/
drivers/scsi/iscsi_tcp.c
+++ b/
drivers/scsi/iscsi_tcp.c
@@
-1885,7
+1885,7
@@
static int iscsi_tcp_get_addr(struct iscsi_conn *conn, struct socket *sock,
struct sockaddr_in *sin;
int rc = 0, len;
- addr = kmalloc(
GFP_KERNEL, sizeof(*addr)
);
+ addr = kmalloc(
sizeof(*addr), GFP_KERNEL
);
if (!addr)
return -ENOMEM;