From 8b813b1ddbb7c556aab48b3c6f46c7b84f0ec5e9 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 23 Aug 2018 12:22:58 -0600 Subject: [PATCH 1/1] t/axmap: add regression test for overlap case resulting in 0 settable bits Signed-off-by: Jens Axboe --- t/axmap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/axmap.c b/t/axmap.c index 1752439a..75417bdb 100644 --- a/t/axmap.c +++ b/t/axmap.c @@ -351,6 +351,11 @@ static int test_overlap(void) .nr = 60, .ret = 14, }, + { + .start = 22670, + .nr = 60, + .ret = 0, + }, { .start = -1U, }, -- 2.25.1