diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-21 00:45:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-23 03:25:54 +0200 |
commit | b301aac5ad67079710a1a7c7b15bf62cddd63295 (patch) | |
tree | 6f1518f628152516fb04aab86c48fbee16e55f43 /tools/vm/slabinfo.c | |
parent | radix-tree: fix radix_tree_iter_retry() for tagged iterators. (diff) | |
download | linux-b301aac5ad67079710a1a7c7b15bf62cddd63295.tar.xz linux-b301aac5ad67079710a1a7c7b15bf62cddd63295.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions