Skip to contentSkip to conversation

dpdk: fix deprecate warning

PATCH New [email protected] 1 participant 2 messages May 8, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dpdk: fix deprecate warning

From: Changqing Li <[email protected]>

WARNING: ... CVE_CHECK_IGNORE is deprecated in favor of CVE_STATUS

---
 recipes-extended/dpdk/dpdk_22.11.7.bb | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
recipes-extended/dpdk/dpdk_22.11.7.bb +2 -8
index 32e6a18..e8f159d 100644
@@ -9,14 +9,8 @@ BRANCH = "22.11"
 SRCREV = "077a7044cc5b2533410f691c8db6fb4f6667b1ca"
 S = "${WORKDIR}/git"
 
-# CVE-2021-3839 has been fixed by commit 4c40d30d2b in 21.11.1
-# NVD database is incomplete
-# CVE-2022-0669 has been fixed by commit 6cb68162e4 in 21.11.1
-# NVD database is incomplete
-CVE_CHECK_IGNORE += "\
-    CVE-2021-3839 \
-    CVE-2022-0669 \
-"
+CVE_STATUS[CVE-2021-3839] = "fixed-version: this CVE is fixed since 21.11.1"
+CVE_STATUS[CVE-2022-0669] = "fixed-version: this CVE is fixed since 21.11.1"
 
 # kernel module is provide by dpdk-module recipe, so disable here
 EXTRA_OEMESON = " -Denable_kmods=false \
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 dpdk-module: Fix lack of whitespace around assignment warning

From: Changqing Li <[email protected]>

---
 recipes-extended/dpdk/dpdk-module_22.11.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/dpdk/dpdk-module_22.11.7.bb +1 -1
index e8973b1..0ad93e5 100644
@@ -22,7 +22,7 @@ COMPATIBLE_HOST:linux-gnux32 = "null"
 export S
 export STAGING_KERNEL_DIR
 export STAGING_INCDIR
-export INSTALL_MOD_DIR="dpdk"
+export INSTALL_MOD_DIR = "dpdk"
 
 do_configure[noexec] = "1"
 
Signature · 1 line
2.34.1