]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_bitmap.c: add test for bitmap_cut()
authorStefano Brivio <sbrivio@redhat.com>
Wed, 12 Aug 2020 01:34:32 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:59 +0000 (10:57 -0700)
commit294cc9c67d447e6d6aeed1c9d620874a4ca8e484
tree2daf3aaac456a81945b052495bf02cbd3de7e0cd
parent41af0657ddfb343be20ea95cd4f6a9eb581d654b
lib/test_bitmap.c: add test for bitmap_cut()

Inspired by an original patch from Yury Norov: introduce a test for
bitmap_cut() that also makes sure functionality is as described for
partially overlapping src and dst.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Yury Norov <yury.norov@gmail.com>
Link: http://lkml.kernel.org/r/5fc45e6bbd4fa837cd9577f8a0c1d639df90a4ce.1592155364.git.sbrivio@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_bitmap.c