aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitops.c
diff options
context:
space:
mode:
authorStefano Brivio <[email protected]>2020-08-12 01:34:32 +0000
committerLinus Torvalds <[email protected]>2020-08-12 17:57:59 +0000
commitbcb32a1d82614ffb8a56f14c648c3970bcd2cf89 (patch)
tree2daf3aaac456a81945b052495bf02cbd3de7e0cd /lib/test_bitops.c
parentlib/bitmap.c: fix bitmap_cut() for partial overlapping case (diff)
downloadkernel-bcb32a1d82614ffb8a56f14c648c3970bcd2cf89.tar.gz
kernel-bcb32a1d82614ffb8a56f14c648c3970bcd2cf89.zip
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Cc: Pablo Neira Ayuso <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Yury Norov <[email protected]> Link: http://lkml.kernel.org/r/5fc45e6bbd4fa837cd9577f8a0c1d639df90a4ce.1592155364.git.sbrivio@redhat.com Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitops.c')
0 files changed, 0 insertions, 0 deletions