linux/tools/testing/radix-tree
Dan Carpenter b301aac5ad testing/radix-tree: fix a macro expansion bug
There are no parentheses around this macro and it causes a problem when
we do:

	index = rand() % THRASH_SIZE;

Link: http://lkml.kernel.org/r/20160715210953.GC19522@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-07-23 10:25:54 +09:00
..
generated radix-tree: add support for multi-order iterating 2016-05-20 17:58:30 -07:00
linux radix-tree: add test for radix_tree_locate_item() 2016-05-20 17:58:30 -07:00
.gitignore radix tree test harness 2016-03-17 15:09:34 -07:00
find_next_bit.c radix tree test harness 2016-03-17 15:09:34 -07:00
linux.c radix tree test harness 2016-03-17 15:09:34 -07:00
main.c radix-tree: add test for radix_tree_locate_item() 2016-05-20 17:58:30 -07:00
Makefile radix tree test suite: start adding multiorder tests 2016-05-20 17:58:30 -07:00
multiorder.c radix-tree: tidy up next_chunk 2016-05-20 17:58:30 -07:00
rcupdate.c radix tree test harness 2016-03-17 15:09:34 -07:00
regression1.c radix tree test harness 2016-03-17 15:09:34 -07:00
regression2.c radix tree test suite: allow testing other fan-out values 2016-05-20 17:58:30 -07:00
regression3.c radix-tree tests: add test for radix_tree_iter_next 2016-03-17 15:09:34 -07:00
regression.h radix-tree tests: add regression3 test 2016-03-17 15:09:34 -07:00
tag_check.c testing/radix-tree: fix a macro expansion bug 2016-07-23 10:25:54 +09:00
test.c radix-tree: rename radix_tree_is_indirect_ptr() 2016-05-20 17:58:30 -07:00
test.h radix-tree: rename indirect_to_ptr() to entry_to_node() 2016-05-20 17:58:30 -07:00