aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 4e1c14f20ddd..f54aeb1e8ae3 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -369,9 +369,11 @@ extern int iscsi_conn_bind(struct iscsi_cls_session *, struct iscsi_cls_conn *,
369extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err); 369extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err);
370extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn, 370extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn,
371 enum iscsi_param param, char *buf); 371 enum iscsi_param param, char *buf);
372extern void iscsi_suspend_tx(struct iscsi_conn *conn);
372 373
373#define iscsi_conn_printk(prefix, _c, fmt, a...) \ 374#define iscsi_conn_printk(prefix, _c, fmt, a...) \
374 iscsi_cls_conn_printk(prefix, _c->cls_conn, fmt, ##a) 375 iscsi_cls_conn_printk(prefix, ((struct iscsi_conn *)_c)->cls_conn, \
376 fmt, ##a)
375 377
376/* 378/*
377 * pdu and task processing 379 * pdu and task processing