]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lib/interval_tree_test.c: allow users to limit scope of endpoint
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 10 Jul 2017 22:51:49 +0000 (15:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:11:30 +0000 (14:11 +0100)
commit36c9eca096a72ba02df39d653ae7005825dce65a
tree1b20bdec40014fcd07a302894c9330be87ff5d9c
parentc07f4060708d136071aeac63b8dd898233694812
lib/interval_tree_test.c: allow users to limit scope of endpoint

[ Upstream commit a8ec14d4f6aa8e245efacc992c8ee6ea0464ce2a ]

Add a 'max_endpoint' parameter such that users may easily limit the size
of the intervals that are randomly generated.

Link: http://lkml.kernel.org/r/20170518174936.20265-4-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
lib/interval_tree_test.c