From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:40:51 +0000
Subject: [PATCH] disable kernel build waring

---
 kernel/include/linux/list_sort.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/include/linux/list_sort.h b/kernel/include/linux/list_sort.h
index ba79956..20f178c 100644
--- a/kernel/include/linux/list_sort.h
+++ b/kernel/include/linux/list_sort.h
@@ -6,6 +6,7 @@
 
 struct list_head;
 
+__attribute__((nonnull(2,3)))
 void list_sort(void *priv, struct list_head *head,
 	       int (*cmp)(void *priv, struct list_head *a,
 			  struct list_head *b));

--
Gitblit v1.6.2