Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package drbd for openSUSE:Factory checked in at 2025-10-10 17:11:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/drbd (Old) and /work/SRC/openSUSE:Factory/.drbd.new.5300 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "drbd" Fri Oct 10 17:11:15 2025 rev:120 rq:1310460 version:9.1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/drbd/drbd.changes 2025-08-21 17:00:03.439794429 +0200 +++ /work/SRC/openSUSE:Factory/.drbd.new.5300/drbd.changes 2025-10-10 17:13:05.486692122 +0200 @@ -1,0 +2,7 @@ +Fri Oct 10 06:23:00 UTC 2025 - heming zhao <[email protected]> + +- drbd: fix build error against kernel v6.17.0 (boo#1251834) + * add suse special patch + + boo1251834-fix_build_error_against_kernel_v6.17.0.patch + +------------------------------------------------------------------- New: ---- boo1251834-fix_build_error_against_kernel_v6.17.0.patch ----------(New B)---------- New: * add suse special patch + boo1251834-fix_build_error_against_kernel_v6.17.0.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ drbd.spec ++++++ --- /var/tmp/diff_new_pack.4W2ZdL/_old 2025-10-10 17:13:06.310726790 +0200 +++ /var/tmp/diff_new_pack.4W2ZdL/_new 2025-10-10 17:13:06.310726790 +0200 @@ -45,6 +45,7 @@ Patch1002: suse-coccinelle.patch Patch1003: boo1244669-fix_build_error_against_kernel_v6.15.patch Patch1004: boo1248426-fix_build_error_against_kernel_v6.16.1.patch +Patch1005: boo1251834-fix_build_error_against_kernel_v6.17.0.patch ######################## #https://github.com/openSUSE/rpmlint-checks/blob/master/KMPPolicyCheck.py ++++++ boo1251834-fix_build_error_against_kernel_v6.17.0.patch ++++++ For details, check boo#1251834 --- diff -Nupr a/drbd/drbd_dax_pmem.c b/drbd/drbd_dax_pmem.c --- a/drbd/drbd_dax_pmem.c 2025-10-10 14:08:56.052716428 +0800 +++ b/drbd/drbd_dax_pmem.c 2025-10-10 14:09:30.526227702 +0800 @@ -22,7 +22,6 @@ #include <linux/vmalloc.h> #include <linux/slab.h> #include <linux/dax.h> -#include <linux/pfn_t.h> #include <linux/libnvdimm.h> #include <linux/blkdev.h> #include "drbd_int.h" @@ -35,7 +34,7 @@ static int map_superblock_for_dax(struct pgoff_t pgoff = bdev->md.md_offset >> (PAGE_SHIFT - SECTOR_SHIFT); void *kaddr; long len; - pfn_t pfn_unused; /* before 4.18 it is required to pass in non-NULL */ + unsigned long pfn_unused; /* before 4.18 it is required to pass in non-NULL */ int id; id = dax_read_lock(); @@ -93,7 +92,7 @@ int drbd_dax_map(struct drbd_backing_dev long al_offset_byte = (al_sector - first_sector) << SECTOR_SHIFT; void *kaddr; long len; - pfn_t pfn_unused; /* before 4.18 it is required to pass in non-NULL */ + unsigned long pfn_unused; /* before 4.18 it is required to pass in non-NULL */ int id; id = dax_read_lock(); diff -Nupr a/drbd/drbd-kernel-compat/tests/dax_direct_access_takes_mode.c b/drbd/drbd-kernel-compat/tests/dax_direct_access_takes_mode.c --- a/drbd/drbd-kernel-compat/tests/dax_direct_access_takes_mode.c 2025-10-10 14:08:41.597662468 +0800 +++ b/drbd/drbd-kernel-compat/tests/dax_direct_access_takes_mode.c 2025-10-10 14:09:58.190282356 +0800 @@ -3,7 +3,7 @@ #include <linux/dax.h> long foo(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages, - enum dax_access_mode mode, void **kaddr, pfn_t *pfn) + enum dax_access_mode mode, void **kaddr, unsigned long *pfn) { return dax_direct_access(dax_dev, pgoff, nr_pages, mode, kaddr, pfn); }
