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
This commit is contained in:
Bart Van Assche
2015-06-12 15:29:56 +00:00
parent 3e77947ed9
commit e62155683e
+1 -1
View File
@@ -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;