diff options
Diffstat (limited to 'drivers/target/target_core_stat.c')
-rw-r--r-- | drivers/target/target_core_stat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_stat.c b/drivers/target/target_core_stat.c index 6d8a90464f2..f8c2d2cc343 100644 --- a/drivers/target/target_core_stat.c +++ b/drivers/target/target_core_stat.c | |||
@@ -1755,8 +1755,7 @@ static ssize_t target_stat_scsi_att_intr_port_show_attr_port_ident( | |||
1755 | /* scsiAttIntrPortName+scsiAttIntrPortIdentifier */ | 1755 | /* scsiAttIntrPortName+scsiAttIntrPortIdentifier */ |
1756 | memset(buf, 0, 64); | 1756 | memset(buf, 0, 64); |
1757 | if (tpg->se_tpg_tfo->sess_get_initiator_sid != NULL) | 1757 | if (tpg->se_tpg_tfo->sess_get_initiator_sid != NULL) |
1758 | tpg->se_tpg_tfo->sess_get_initiator_sid(se_sess, | 1758 | tpg->se_tpg_tfo->sess_get_initiator_sid(se_sess, buf, 64); |
1759 | (unsigned char *)&buf[0], 64); | ||
1760 | 1759 | ||
1761 | ret = snprintf(page, PAGE_SIZE, "%s+i+%s\n", nacl->initiatorname, buf); | 1760 | ret = snprintf(page, PAGE_SIZE, "%s+i+%s\n", nacl->initiatorname, buf); |
1762 | spin_unlock_irq(&nacl->nacl_sess_lock); | 1761 | spin_unlock_irq(&nacl->nacl_sess_lock); |