]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
add a warning back to a 4.4 patch...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Dec 2016 08:25:16 +0000 (09:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Dec 2016 08:25:16 +0000 (09:25 +0100)
queue-4.4/don-t-feed-anything-but-regular-iovec-s-to-blk_rq_map_user_iov.patch

index e075dbde38a9236e162dd1e314960686f54f42c5..4bc09d14d5cd05592978cb75198884d52cd3c980 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        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) {