Update 0001-change-warning-to-debug.patch

This commit is contained in:
breeze303 2024-12-18 23:02:04 +08:00 committed by GitHub
parent 2e21ca3b89
commit 4c52a1a628
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,3 +17,14 @@
return -ENODEV;
}
printk(KERN_INFO "%s DT exist!\n", dev_name);
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ endif
NSS_MACSEC_INCLUDE = -I$(obj)/include -I$(obj)/dal -I$(obj)/fal -I$(obj)/dal/qca808x
ccflags-y += $(NSS_MACSEC_INCLUDE)
-ccflags-y += -Wall -Werror
+ccflags-y += -Wall -Werror -Wno-missing-declarations -Wno-missing-prototypes
ifeq ($(SoC), ipq806x)
ccflags-y += -DMACSEC_IPQ806X_SUPPORT