mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 22:56:32 +00:00
iscsi-scst: Eliminate a cast
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4479 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1348,9 +1348,9 @@ retry:
|
||||
(struct iovec __force __user *)iop,
|
||||
count, &off);
|
||||
set_fs(oldfs);
|
||||
TRACE_WRITE("sid %#Lx, cid %u, res %d, iov_len %ld",
|
||||
TRACE_WRITE("sid %#Lx, cid %u, res %d, iov_len %zd",
|
||||
(long long unsigned int)conn->session->sid,
|
||||
conn->cid, res, (long)iop->iov_len);
|
||||
conn->cid, res, iop->iov_len);
|
||||
if (unlikely(res <= 0)) {
|
||||
if (res == -EAGAIN) {
|
||||
conn->write_iop = iop;
|
||||
|
||||
Reference in New Issue
Block a user