From: Greg Kroah-Hartman Date: Fri, 9 Dec 2016 08:25:16 +0000 (+0100) Subject: add a warning back to a 4.4 patch... X-Git-Tag: v4.4.38~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f789fb264d5c8501d8fdaa3fbabb09b2cffe2a10;p=thirdparty%2Fkernel%2Fstable-queue.git add a warning back to a 4.4 patch... --- diff --git a/queue-4.4/don-t-feed-anything-but-regular-iovec-s-to-blk_rq_map_user_iov.patch b/queue-4.4/don-t-feed-anything-but-regular-iovec-s-to-blk_rq_map_user_iov.patch index e075dbde38a..4bc09d14d5c 100644 --- a/queue-4.4/don-t-feed-anything-but-regular-iovec-s-to-blk_rq_map_user_iov.patch +++ b/queue-4.4/don-t-feed-anything-but-regular-iovec-s-to-blk_rq_map_user_iov.patch @@ -26,7 +26,7 @@ Signed-off-by: Greg Kroah-Hartman if (!iter || !iter->count) return -EINVAL; -+ if (!iter_is_iovec((struct iov_iter *)iter)) ++ if (!iter_is_iovec(iter)) + return -EINVAL; + iov_for_each(iov, i, *iter) {