misc: mic: fix possible signed underflow (undefined behavior) in userspace API
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / uapi / linux / mic_ioctl.h
index 7fabba5..feb0b4c 100644 (file)
@@ -39,7 +39,7 @@ struct mic_copy_desc {
 #else
        struct iovec *iov;
 #endif
-       int iovcnt;
+       __u32 iovcnt;
        __u8 vr_idx;
        __u8 update_used;
        __u32 out_len;