X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fmisc%2Fmic%2Fhost%2Fmic_virtio.c;h=7e1ef0ebbb800bfcf00d7d07aaff02f7a5af7b4a;hb=614cd4a4ac3daf725508e372bce2160e2d8039a9;hp=752ff873f891bb3dc502305506f3f782ede28296;hpb=b399c46ea0070671f3abbe1915d26076101a42f2;p=~andy%2Flinux diff --git a/drivers/misc/mic/host/mic_virtio.c b/drivers/misc/mic/host/mic_virtio.c index 752ff873f89..7e1ef0ebbb8 100644 --- a/drivers/misc/mic/host/mic_virtio.c +++ b/drivers/misc/mic/host/mic_virtio.c @@ -156,7 +156,8 @@ static int mic_vringh_copy(struct mic_vdev *mvdev, struct vringh_kiov *iov, static int _mic_virtio_copy(struct mic_vdev *mvdev, struct mic_copy_desc *copy) { - int ret = 0, iovcnt = copy->iovcnt; + int ret = 0; + u32 iovcnt = copy->iovcnt; struct iovec iov; struct iovec __user *u_iov = copy->iov; void __user *ubuf = NULL;