lkml.org 
[lkml]   [2014]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] lib: list_sort: Various minor improvements
Date
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



\
 
 \ /
  Last update: 2014-06-24 12:41    [W:0.120 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site