From e62155683e7f40b44986700e7dc7a800b30f6c58 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 12 Jun 2015 15:29:56 +0000 Subject: [PATCH] iscsi-scst: Fix a compiler warning for kernel versions >= 3.19 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6310 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;