diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-20 16:03:40 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-20 11:04:25 -0500 |
commit | e7cbff13ec1f236a3f8341c503a2e1bd0cf692e5 (patch) | |
tree | 73929ed1060bd3e7ac818906376711c95b6ec226 | |
parent | 6585c1b3e2e6fe78701980686139f9599be07d66 (diff) | |
download | blackbird-op-linux-e7cbff13ec1f236a3f8341c503a2e1bd0cf692e5.tar.gz blackbird-op-linux-e7cbff13ec1f236a3f8341c503a2e1bd0cf692e5.zip |
[SCSI] iscsi_tcp: buggered kmalloc()
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>
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index aebcd5fcdc55..7829ab1e2fb4 100644 --- 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; |