diff --git a/iscsi-scst/kernel/conn.c b/iscsi-scst/kernel/conn.c index 309e2d4ac..359541c97 100644 --- a/iscsi-scst/kernel/conn.c +++ b/iscsi-scst/kernel/conn.c @@ -930,7 +930,7 @@ int iscsi_conn_alloc(struct iscsi_session *session, conn->transport = t; /* Changing it, change ISCSI_CONN_IOV_MAX as well !! */ - conn->read_iov = (struct iovec *)get_zeroed_page(GFP_KERNEL); + conn->read_iov = (void *)get_zeroed_page(GFP_KERNEL); if (conn->read_iov == NULL) { res = -ENOMEM; goto out_err_free_conn;