diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-07 00:38:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-07 03:32:44 +0100 |
commit | 978f369c5c4777c32e686ecff5aaa5b677afc564 (patch) | |
tree | fae32c7bc40d529b93a4d228bdd997d132c5e228 /fs/fs_pin.c | |
parent | lib/test_bitmap.c: add bitmap_zero()/bitmap_clear() test cases (diff) | |
download | linux-978f369c5c4777c32e686ecff5aaa5b677afc564.tar.xz linux-978f369c5c4777c32e686ecff5aaa5b677afc564.zip |
lib/test_bitmap.c: add bitmap_fill()/bitmap_set() test cases
Explicitly test bitmap_fill() and bitmap_set() functions.
For bitmap_fill() we expect a consistent behaviour as in bitmap_zero(),
i.e. the trailing bits will be set up to unsigned long boundary.
Link: http://lkml.kernel.org/r/20180109172430.87452-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Yury Norov <ynorov@caviumnetworks.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fs_pin.c')
0 files changed, 0 insertions, 0 deletions