Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2024-03-19 17:29:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dpdk (Old) and /work/SRC/openSUSE:Factory/.dpdk.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk" Tue Mar 19 17:29:27 2024 rev:59 rq:1158927 version:22.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dpdk/dpdk.changes 2023-09-11 21:19:54.356504647 +0200 +++ /work/SRC/openSUSE:Factory/.dpdk.new.1905/dpdk.changes 2024-03-19 17:29:29.449597235 +0100 @@ -1,0 +2,6 @@ +Tue Mar 12 08:50:25 UTC 2024 - Jiri Slaby <[email protected]> + +- add kni-fix-build-with-Linux-6.8.patch to fix build against + kernel 6.8. + +------------------------------------------------------------------- New: ---- kni-fix-build-with-Linux-6.8.patch BETA DEBUG BEGIN: New: - add kni-fix-build-with-Linux-6.8.patch to fix build against kernel 6.8. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dpdk.spec ++++++ --- /var/tmp/diff_new_pack.CrbfQh/_old 2024-03-19 17:29:30.289628031 +0100 +++ /var/tmp/diff_new_pack.CrbfQh/_new 2024-03-19 17:29:30.289628031 +0100 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package dpdk # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -59,6 +59,7 @@ Patch1: 0002-SLE15-SP3-compatibility-patch-for-kni.patch Patch2: 0001-kni-fix-build-with-Linux-6.3.patch Patch3: 0001-kni-fix-build-with-Linux-6.5.patch +Patch4: kni-fix-build-with-Linux-6.8.patch BuildRequires: binutils BuildRequires: doxygen BuildRequires: fdupes ++++++ kni-fix-build-with-Linux-6.8.patch ++++++ From: Jiri Slaby <[email protected]> Subject: kni: fix build with Linux 6.8 Patch-mainline: submitted to [email protected], <[email protected]> References: kernel 6.8 strlcpy() was removed in commit d26270061ae6 (string: Remove strlcpy()), use strscpy() instead. The patches fixes this: kernel/linux/kni/kni_net.c: In function âkni_get_drvinfoâ: kernel/linux/kni/kni_net.c:835:9: error: implicit declaration of function âstrlcpyâ; did you mean âstrscpyâ? Signed-off-by: Jiri Slaby <[email protected]> --- kernel/linux/kni/kni_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/kernel/linux/kni/kni_net.c +++ b/kernel/linux/kni/kni_net.c @@ -832,8 +832,8 @@ static const struct net_device_ops kni_n static void kni_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) { - strlcpy(info->version, KNI_VERSION, sizeof(info->version)); - strlcpy(info->driver, "kni", sizeof(info->driver)); + strscpy(info->version, KNI_VERSION, sizeof(info->version)); + strscpy(info->driver, "kni", sizeof(info->driver)); } static const struct ethtool_ops kni_net_ethtool_ops = {
