On Fri, Dec 5, 2014 at 9:39 PM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > Hi Chris, > > Any updates on this? > Well, I haven't fully understand the code that merge two sorted list in place. It is that code that cause the sorting error. One quick and dirty way to fix it is just convert the list with more than one bucket into an array then use qsort() on it. That will require modify the compare function and copy the list back from the array. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html