diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index aa3c7f0c550d..92d031959002 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -1838,17 +1838,17 @@ iscsi_conn_get_stats(struct iscsi_cls_conn *cls_conn, struct iscsi_stats *stats) | |||
1838 | } | 1838 | } |
1839 | 1839 | ||
1840 | static struct iscsi_cls_session * | 1840 | static struct iscsi_cls_session * |
1841 | iscsi_tcp_session_create(struct Scsi_Host *shost, uint16_t cmds_max, | 1841 | iscsi_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, |
1842 | uint16_t qdepth, uint32_t initial_cmdsn, | 1842 | uint16_t qdepth, uint32_t initial_cmdsn, |
1843 | uint32_t *hostno) | 1843 | uint32_t *hostno) |
1844 | { | 1844 | { |
1845 | struct iscsi_cls_session *cls_session; | 1845 | struct iscsi_cls_session *cls_session; |
1846 | struct iscsi_session *session; | 1846 | struct iscsi_session *session; |
1847 | struct Scsi_Host *shost; | ||
1847 | int cmd_i; | 1848 | int cmd_i; |
1848 | 1849 | ||
1849 | if (shost) { | 1850 | if (ep) { |
1850 | printk(KERN_ERR "iscsi_tcp: invalid shost %d.\n", | 1851 | printk(KERN_ERR "iscsi_tcp: invalid ep %p.\n", ep); |
1851 | shost->host_no); | ||
1852 | return NULL; | 1852 | return NULL; |
1853 | } | 1853 | } |
1854 | 1854 | ||