diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-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, | |||
1885 | struct sockaddr_in *sin; | 1885 | struct sockaddr_in *sin; |
1886 | int rc = 0, len; | 1886 | int rc = 0, len; |
1887 | 1887 | ||
1888 | addr = kmalloc(GFP_KERNEL, sizeof(*addr)); | 1888 | addr = kmalloc(sizeof(*addr), GFP_KERNEL); |
1889 | if (!addr) | 1889 | if (!addr) |
1890 | return -ENOMEM; | 1890 | return -ENOMEM; |
1891 | 1891 | ||