]> 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:09:49 +0000 (14:09 +0100)
commit74fc7af2d613a5a8dd37047a6eb218491794c6e0
tree9e5d73ba5123624f442c6390789dccd286bb569d
parentfa1054e903ae9381ac6f3fd27353515d5807ab64
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