mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user