[PATCH v2 2/4] lib: list_sort_test(): Add extra corruption check

2014-06-24 Thread Rasmus Villemoes
Add a check to make sure that the prev pointer of the list head points to the last element on the list. Signed-off-by: Rasmus Villemoes --- lib/list_sort.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/list_sort.c b/lib/list_sort.c index 291412a..fbdbc86 100644 ---

[PATCH v2 2/4] lib: list_sort_test(): Add extra corruption check

2014-06-24 Thread Rasmus Villemoes
Add a check to make sure that the prev pointer of the list head points to the last element on the list. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- lib/list_sort.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/list_sort.c b/lib/list_sort.c index 291412a..fbdbc86