blob: 080c6b765d393ac12ac51a7ac72d6578c1816105 [file] [log] [blame]
From: David Hildenbrand <david@redhat.com>
Subject: selftests-vm-anon_cow-add-liburing-test-cases-fix
Date: Tue, 25 Oct 2022 09:10:18 +0200
s/size_t/ssize_t/ on `cur', `total'.
Link: https://lkml.kernel.org/r/445fe1ae-9e22-0d1d-4d09-272231d2f84a@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Christoph von Recklinghausen <crecklin@redhat.com>
Cc: Don Dutile <ddutile@redhat.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Nadav Amit <namit@vmware.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/vm/anon_cow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/testing/selftests/vm/anon_cow.c~selftests-vm-anon_cow-add-liburing-test-cases-fix
+++ a/tools/testing/selftests/vm/anon_cow.c
@@ -346,7 +346,7 @@ static void do_test_iouring(char *mem, s
struct io_uring_cqe *cqe;
struct io_uring_sqe *sqe;
struct io_uring ring;
- size_t cur, total;
+ ssize_t cur, total;
struct iovec iov;
char *buf, *tmp;
int ret, fd;
_