Merge tag 'landlock_v34' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[platform/kernel/linux-rpi.git] / lib / test_list_sort.c
index 1f017d3..00daaf2 100644 (file)
@@ -56,7 +56,8 @@ static int __init check(struct debug_el *ela, struct debug_el *elb)
        return 0;
 }
 
-static int __init cmp(void *priv, struct list_head *a, struct list_head *b)
+static int __init cmp(void *priv, const struct list_head *a,
+                     const struct list_head *b)
 {
        struct debug_el *ela, *elb;