support mainline kernel (#2869)

This commit is contained in:
libingxuan
2025-11-05 22:35:18 +08:00
committed by ShirkNeko
parent f8904b1b02
commit c9c62b25d2
2 changed files with 4 additions and 6 deletions

View File

@@ -166,7 +166,7 @@ ifeq ($(shell grep -q "struct proc_ops " $(srctree)/include/linux/proc_fs.h; ech
ccflags-y += -DKSU_COMPAT_HAS_PROC_OPS
endif
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion -Wno-gcc-compat
ccflags-y += -Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-int-conversion -Wno-gcc-compat -Wno-missing-prototypes
ccflags-y += -Wno-declaration-after-statement -Wno-unused-function -Wno-unused-variable
all: