Messages in this thread | | | From | Rasmus Villemoes <> | Subject | [PATCH v2 0/4] lib: list_sort: Various minor improvements | Date | Tue, 24 Jun 2014 12:06:27 +0200 |
| |
Reading the source of lib/list_sort.c, I came up with a few possible improvements. I think 4/4 may be a bit controversial, but 1/4, 2/4 and 3/4 should be straightforward.
v2: Fix typo in 2/4, and add 3/4,4/4.
Rasmus Villemoes (4): lib: list_sort_test(): Return -ENOMEM when allocation fails lib: list_sort_test(): Add extra corruption check lib: list_sort_test(): Simplify and harden cleanup lib: list_sort.c: Limit number of unused cmp callbacks
lib/list_sort.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-)
-- 1.9.2
| |