Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vhba-kmp for openSUSE:Factory checked in at 2022-01-20 00:12:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vhba-kmp (Old) and /work/SRC/openSUSE:Factory/.vhba-kmp.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vhba-kmp" Thu Jan 20 00:12:29 2022 rev:20 rq:947427 version:20211218 Changes: -------- --- /work/SRC/openSUSE:Factory/vhba-kmp/vhba-kmp.changes 2021-11-27 00:51:46.550708538 +0100 +++ /work/SRC/openSUSE:Factory/.vhba-kmp.new.1892/vhba-kmp.changes 2022-01-20 00:13:25.630632094 +0100 @@ -1,0 +2,6 @@ +Wed Jan 19 13:08:52 UTC 2022 - Jan Engelhardt <[email protected]> + +- Update to release 20211218 + * Support for Linux 5.16 SCSI layer API updates + +------------------------------------------------------------------- Old: ---- vhba-module-20211023.tar.xz New: ---- vhba-module-20211218.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vhba-kmp.spec ++++++ --- /var/tmp/diff_new_pack.eucX4r/_old 2022-01-20 00:13:26.094632469 +0100 +++ /var/tmp/diff_new_pack.eucX4r/_new 2022-01-20 00:13:26.098632473 +0100 @@ -1,7 +1,7 @@ # # spec file for package vhba-kmp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: vhba-kmp -Version: 20211023 +Version: 20211218 Release: 0 Summary: Virtual SCSI Host Bus Adapter License: GPL-2.0-or-later ++++++ vhba-module-20211023.tar.xz -> vhba-module-20211218.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20211023/Makefile new/vhba-module-20211218/Makefile --- old/vhba-module-20211023/Makefile 2021-10-23 20:47:30.000000000 +0200 +++ new/vhba-module-20211218/Makefile 2021-12-18 12:18:52.000000000 +0100 @@ -1,4 +1,4 @@ -VHBA_VERSION := 20211023 +VHBA_VERSION := 20211218 KERNELRELEASE ?= $(shell uname -r) KDIR ?= /lib/modules/$(KERNELRELEASE)/build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20211023/debian/changelog new/vhba-module-20211218/debian/changelog --- old/vhba-module-20211023/debian/changelog 2021-10-23 20:47:30.000000000 +0200 +++ new/vhba-module-20211218/debian/changelog 2021-12-18 12:18:52.000000000 +0100 @@ -1,3 +1,3 @@ -vhba-module (20211023-1) debian; urgency=low +vhba-module (20211218-1) debian; urgency=low * Initial Release. Closes: #705409 -- Henrik Stokseth <[email protected]> Sat, 05 Apr 2014 12:00:00 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vhba-module-20211023/vhba.c new/vhba-module-20211218/vhba.c --- old/vhba-module-20211023/vhba.c 2021-10-23 20:47:30.000000000 +0200 +++ new/vhba-module-20211218/vhba.c 2021-12-18 12:18:52.000000000 +0100 @@ -489,7 +489,11 @@ scmd_dbg(cmd, "no such device\n"); cmd->result = DID_NO_CONNECT << 16; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) + scsi_done(cmd); +#else cmd->scsi_done(cmd); +#endif return 0; } @@ -824,7 +828,11 @@ spin_lock_irqsave(&vdev->cmd_lock, flags); if (ret >= 0) { +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) + scsi_done(vcmd->cmd); +#else vcmd->cmd->scsi_done(vcmd->cmd); +#endif ret += sizeof(res); /* don't compete with vhba_device_dequeue */ @@ -950,8 +958,11 @@ scmd_dbg(vcmd->cmd, "device released with command %lu (%p)\n", vcmd->metatag, vcmd->cmd); vcmd->cmd->result = DID_NO_CONNECT << 16; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) + scsi_done(vcmd->cmd); +#else vcmd->cmd->scsi_done(vcmd->cmd); - +#endif vhba_free_command(vcmd); } INIT_LIST_HEAD(&vdev->cmd_list);
