Bug ID 1206172
Summary mhvtl fails to build on Leap 15.5 error: too few arguments to function 'mhvtl_queuecommand_lck'
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter lubos.kocman@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

https://build.opensuse.org/package/live_build_log/openSUSE:Leap:15.5/mhvtl/standard/x86_64

mhvtl fails to build on Leap 15.5, based on the SCSI nature it seem to be
related to Bug 1206169
Could you please look a it?

   66s] make: Entering directory
'/usr/src/linux-5.14.21-150500.34-obj/x86_64/default'
[   67s]   CC [M] 
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default/mhvtl.o
[   68s] In file included from
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default/mhvtl.c:63:0:
[   68s]
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default/mhvtl.c:
In function 'mhvtl_queuecommand':
[   68s]
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default/mhvtl.c:300:22:
error: too few arguments to function 'mhvtl_queuecommand_lck'
[   68s]  static DEF_SCSI_QCMD(mhvtl_queuecommand)
[   68s]                       ^
[   68s] /usr/src/linux-5.14.21-150500.34/include/scsi/scsi_host.h:516:8: note:
in definition of macro 'DEF_SCSI_QCMD'
[   68s]    rc = func_name##_lck(cmd);    \
[   68s]         ^~~~~~~~~
[   68s]
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default/mhvtl.c:278:12:
note: declared here
[   68s]  static int mhvtl_queuecommand_lck(struct scsi_cmnd *
[   68s]             ^~~~~~~~~~~~~~~~~~~~~~
[   68s] make[2]: ***
[/usr/src/linux-5.14.21-150500.34/scripts/Makefile.build:272:
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default/mhvtl.o]
Error 1
[   68s] make[1]: *** [/usr/src/linux-5.14.21-150500.34/Makefile:1891:
/home/abuild/rpmbuild/BUILD/mhvtl-1.64_release+835.6beb0aa01437/obj/default]
Error 2
[   68s] make: *** [../../../linux-5.14.21-150500.34/Makefile:220: __sub-make]
Error 2
[   68s] make: Leaving directory
'/usr/src/linux-5.14.21-150500.34-obj/x86_64/default'
[   68s] error: Bad exit status from /var/tmp/rpm-tmp.xY7F0m (%build)
[   68s]


You are receiving this mail because: