Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:favogt:symbolictw
liburing
test-no-mmap-inval-0-return-is-fine-too.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File test-no-mmap-inval-0-return-is-fine-too.patch of Package liburing
From: Jens Axboe <axboe@kernel.dk> Date: Tue, 7 Nov 2023 08:05:52 -0700 Subject: test/no-mmap-inval: 0 return is fine too Git-repo: git://git.kernel.dk/liburing.git Git-commit: 9dc95a03e4a764e42b9e62990bb00feb9307ba63 Patch-mainline: 2.6 References: test_fix Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jiri Slaby <jslaby@suse.cz> --- test/no-mmap-inval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/no-mmap-inval.c b/test/no-mmap-inval.c index e851078d..9571fee0 100644 --- a/test/no-mmap-inval.c +++ b/test/no-mmap-inval.c @@ -31,7 +31,7 @@ int main(int argc, char *argv[]) if (ret == -EINVAL) { /* kernel doesn't support SETUP_NO_MMAP */ return T_EXIT_SKIP; - } else if (ret != -EFAULT) { + } else if (ret && ret != -EFAULT) { fprintf(stderr, "Got %d, wanted -EFAULT\n", ret); return T_EXIT_FAIL; } -- 2.44.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor