diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 64fa92490..a110e968c 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -5116,8 +5116,7 @@ restart: eiv++; eiv_count--; } else { - eiv->iov_base = - (uint8_t __force __user *)eiv->iov_base + err; + eiv->iov_base += err; eiv->iov_len -= err; break; }