From: Herbert Xu Date: Wed, 18 Mar 2015 09:01:19 +0000 (+1100) Subject: test_rhashtable: Use rhashtable max_size instead of max_shift X-Git-Tag: v4.14-rc1~5592^2~217^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f509df4f50e72cba65c3b58241a17639b2d9b49;p=platform%2Fkernel%2Flinux-rpi.git test_rhashtable: Use rhashtable max_size instead of max_shift This patch converts test_rhashtable to use rhashtable max_size instead of the obsolete max_shift. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index 16974fd..2bc403d 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c @@ -201,7 +201,7 @@ static int __init test_rht_init(void) .key_offset = offsetof(struct test_obj, value), .key_len = sizeof(int), .hashfn = jhash, - .max_shift = 1, /* we expand/shrink manually here */ + .max_size = 2, /* we expand/shrink manually here */ .nulls_base = (3U << RHT_BASE_SHIFT), }; int err;