[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>

authored by Al Viro and committed by James Bottomley e7cbff13 6585c1b3

+1 -1
+1 -1
drivers/scsi/iscsi_tcp.c
··· 1885 1885 struct sockaddr_in *sin; 1886 1886 int rc = 0, len; 1887 1887 1888 - addr = kmalloc(GFP_KERNEL, sizeof(*addr)); 1888 + addr = kmalloc(sizeof(*addr), GFP_KERNEL); 1889 1889 if (!addr) 1890 1890 return -ENOMEM; 1891 1891