diff options
author | Artem Bityutskiy <[email protected]> | 2010-10-26 14:23:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-10-26 16:52:18 -0700 |
commit | 6d411e6c01608cefb7b9ea6712110538a1432f9f (patch) | |
tree | 5466fa9f8cd1ee9cdd1f5da01ae0ea14fe8437b7 /lib/string_helpers.c | |
parent | e2852ae825dba5ebc159788720baec1a28a57125 (diff) |
lib/Kconfig.debug: add list_sort debugging switch
While hunting a non-existing bug in 'list_sort()', I've improved the
'list_sort_test()' function which tests the 'list_sort()' library call.
Although at the end I found a bug in my code, but not in 'list_sort()', I
think my clean-ups and improvements are worth merging because they make
the test function better.
This patch:
Make the self-tests selectable via Kconfig rather than by manual enabling
of DEBUG_LIST_SORT.
Signed-off-by: Artem Bityutskiy <[email protected]>
Cc: Don Mullis <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions