From: Artem Bityutskiy Date: Tue, 26 Oct 2010 21:23:06 +0000 (-0700) Subject: lib/list_sort: test: use generic random32 X-Git-Tag: v2.6.37-rc1~105^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeee9ebb54b76a33a13d2c926ffb018a4aea410f;p=pandora-kernel.git lib/list_sort: test: use generic random32 Instead of using own pseudo-random generator, use generic linux 'random32()' function. Presumably, this should improve test coverage. At the same time, do the following changes: o Use shorter macro name for test list length o Do not use strange 'l_h' name for 'struct list_head' element, use 'list', because it is traditional name and thus, makes the code more obvious and readable. Signed-off-by: Artem Bityutskiy Cc: Don Mullis Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed