Hello community, here is the log from the commit of package drbd for openSUSE:Factory checked in at 2020-11-04 18:27:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/drbd (Old) and /work/SRC/openSUSE:Factory/.drbd.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "drbd" Wed Nov 4 18:27:30 2020 rev:89 rq:845860 version:9.0.25~0+git.bd41626d Changes: -------- --- /work/SRC/openSUSE:Factory/drbd/drbd.changes 2020-10-20 16:22:52.298363844 +0200 +++ /work/SRC/openSUSE:Factory/.drbd.new.11331/drbd.changes 2020-11-04 18:32:23.000148900 +0100 @@ -1,0 +2,6 @@ +Tue Nov 3 11:21:13 UTC 2020 - nick wang <nw...@suse.com> + +- bsc#1178388, build error with -Wreturn-type + Add patch fix-err-of-wrong-return-type.patch + +------------------------------------------------------------------- New: ---- fix-err-of-wrong-return-type.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ drbd.spec ++++++ --- /var/tmp/diff_new_pack.7c4VlB/_old 2020-11-04 18:32:23.820147082 +0100 +++ /var/tmp/diff_new_pack.7c4VlB/_new 2020-11-04 18:32:23.820147082 +0100 @@ -45,6 +45,7 @@ Patch8: blk_alloc_queue_make_request.patch Patch9: remove_congested_fn_congested_data.patch Patch10: compat_blk_queue_stack_limits.patch +Patch11: fix-err-of-wrong-return-type.patch Patch99: suse-coccinelle.patch #https://github.com/openSUSE/rpmlint-checks/blob/master/KMPPolicyCheck.py BuildRequires: coccinelle >= 1.0.8 @@ -88,6 +89,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %patch99 -p1 mkdir source ++++++ fix-err-of-wrong-return-type.patch ++++++ diff -Naur drbd-9.0.16+git.ab9777df.orig/drbd/drbd-kernel-compat/tests/have_blk_qc_t_make_request.c drbd-9.0.16+git.ab9777df/drbd/drbd-kernel-compat/tests/have_blk_qc_t_make_request.c --- drbd-9.0.16+git.ab9777df.orig/drbd/drbd-kernel-compat/tests/have_blk_qc_t_make_request.c 2020-11-03 17:45:49.362231056 +0800 +++ drbd-9.0.16+git.ab9777df/drbd/drbd-kernel-compat/tests/have_blk_qc_t_make_request.c 2020-11-03 19:11:54.843913135 +0800 @@ -11,6 +11,7 @@ blk_qc_t drbd_make_request(struct request_queue *q, struct bio *bio) { + return 0; } #ifndef __same_type