[PATCH 2/8] lib: test_bitmap: add tests to trigger ERANGE case.

2021-02-21 Thread Paul Gortmaker
Add tests that specify a valid range, but one that is outside the width of the bitmap for which it is to be applied to. These should trigger an -ERANGE response from the code. Cc: Yury Norov Cc: Rasmus Villemoes Cc: Andy Shevchenko Reviewed-by: Andy Shevchenko Signed-off-by: Paul Gortmaker

Re: [PATCH 2/8] lib: test_bitmap: add tests to trigger ERANGE case.

2021-02-10 Thread Andy Shevchenko
On Tue, Feb 09, 2021 at 05:59:01PM -0500, Paul Gortmaker wrote: > Add tests that specify a valid range, but one that is outside the > width of the bitmap for which it is to be applied to. These should > trigger an -ERANGE response from the code. Reviewed-by: Andy Shevchenko > Cc: Yury Norov >

[PATCH 2/8] lib: test_bitmap: add tests to trigger ERANGE case.

2021-02-09 Thread Paul Gortmaker
Add tests that specify a valid range, but one that is outside the width of the bitmap for which it is to be applied to. These should trigger an -ERANGE response from the code. Cc: Yury Norov Cc: Rasmus Villemoes Cc: Andy Shevchenko Signed-off-by: Paul Gortmaker --- lib/test_bitmap.c | 2 ++