]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bitmap: Add test for out-of-boundary modifications for scatter & gather
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Feb 2026 11:16:44 +0000 (12:16 +0100)
committerYury Norov <ynorov@nvidia.com>
Mon, 23 Mar 2026 17:33:51 +0000 (13:33 -0400)
commit6b5a4b68736798df1031404a2fad06d031253ef7
tree22bec62061538558efab08a2d13e70fc29b670c3
parentc369299895a591d96745d6492d4888259b004a9e
bitmap: Add test for out-of-boundary modifications for scatter & gather

Make sure that bitmap_scatter() and bitmap_gather() do not modify
the bits outside of the given nbits span.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <ynorov@nvidia.com>
lib/test_bitmap.c