Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-5.10.134-17-build-390179-71967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8bf0c86fcb5e4f7e9ea439331b4994dc', '-D', '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-390179-71967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 33: It's not recommended to have unversioned Obsoletes: Obsoletes: hpqlgc-qla2xxx Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/kmod-qla2xxx-5.10.134~17-10.02.09.00_k~8.an23.src.rpm RPM build warnings: line 33: It's not recommended to have unversioned Obsoletes: Obsoletes: hpqlgc-qla2xxx Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-5.10.134-17-build-390179-71967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7ac2f26619624a6a9a70b35247e67416', '-D', '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-390179-71967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 33: It's not recommended to have unversioned Obsoletes: Obsoletes: hpqlgc-qla2xxx Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WnlvIu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-qla2xxx-10.02.09.00_k + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/kmod-qla2xxx-10.02.09.00_k.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/kmod-qla2xxx-10.02.09.00_k.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/ -rw-rw-r-- root/root 159 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/99-qla2xxx.rules -rw-rw-r-- root/root 25 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/dracut.qla2xxx.conf -rw-rw-r-- root/root 3995 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/kmod-qla2xxx.spec drwxrwxr-x root/root 0 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/licenses/ -rw-rw-r-- root/root 15423 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/licenses/LICENSE.qla2xxx -rw-rw-r-- root/root 1161 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/qla2xxx_udev.sh drwxrwxr-x root/root 0 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/ -rw-rw-r-- root/root 1489 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/Kconfig -rw-rw-r-- root/root 8999 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/Makefile -rw-rw-r-- root/root 44 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/Module.supported drwxrwxr-x root/root 0 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/ -rw-rw-r-- root/root 77 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/70-qla2xxx-nvmefc-autoconnect.conf -rw-rw-r-- root/root 428 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/70-qla2xxx-nvmefc-autoconnect.rules -rw-rw-r-- root/root 302 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/99-nvme-fc.rules -rw-rw-r-- root/root 159 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/99-qla2xxx.rules -rw-rw-r-- root/root 27523 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/README.qla2xxx -rw-rw-r-- root/root 14214 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/build.sh -rw-rw-r-- root/root 977 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/log.sh -rw-rw-r-- root/root 9820 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qdiag.sh -rw-rw-r-- root/root 210 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qla2xxx-nvmefc-boot-connection.service -rw-rw-r-- root/root 279 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qla2xxx-nvmefc-connect@.service -rw-rw-r-- root/root 863 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qla2xxx_nvme_boot_connections.sh -rw-rw-r-- root/root 1161 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qla2xxx_udev.sh -rw-rw-r-- root/root 2252 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qla_dmp.sh -rw-rw-r-- root/root 3346 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/qlssen.sh -rw-rw-r-- root/root 74778 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/release.notes -rw-rw-r-- root/root 3772 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/extras/split_irq.sh -rw-rw-r-- root/root 1070 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla.h -rw-rw-r-- root/root 102683 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c -rw-rw-r-- root/root 111625 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c -rw-rw-r-- root/root 20561 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.h -rw-rw-r-- root/root 23817 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h -rw-rw-r-- root/root 92208 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c -rw-rw-r-- root/root 18736 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.h -rw-rw-r-- root/root 165512 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_def.h -rw-rw-r-- root/root 4781 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_devtbl.h -rw-rw-r-- root/root 31688 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c -rw-rw-r-- root/root 702 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_dsd.h -rw-rw-r-- root/root 107858 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c -rw-rw-r-- root/root 4316 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_edif.h -rw-rw-r-- root/root 6393 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_edif_bsg.h -rw-rw-r-- root/root 58186 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_fw.h -rw-rw-r-- root/root 47481 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_gbl.h -rw-rw-r-- root/root 113991 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c -rw-rw-r-- root/root 279291 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_init.c -rw-rw-r-- root/root 16023 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_inline.h -rw-rw-r-- root/root 116005 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c -rw-rw-r-- root/root 156735 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c -rw-rw-r-- root/root 191046 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c -rw-rw-r-- root/root 34370 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c -rw-rw-r-- root/root 90878 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c -rw-rw-r-- root/root 13906 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_mr.h -rw-rw-r-- root/root 37914 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.c -rw-rw-r-- root/root 3874 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h -rw-rw-r-- root/root 117445 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c -rw-rw-r-- root/root 39896 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_nx.h -rw-rw-r-- root/root 109897 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c -rw-rw-r-- root/root 16256 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.h -rw-rw-r-- root/root 230669 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_os.c -rw-rw-r-- root/root 59115 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c -rw-rw-r-- root/root 354 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_settings.h -rw-rw-r-- root/root 98587 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c -rw-rw-r-- root/root 202997 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_target.c -rw-rw-r-- root/root 31929 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_target.h -rw-rw-r-- root/root 30344 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c -rw-rw-r-- root/root 4858 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.h -rw-rw-r-- root/root 391 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/qla_version.h -rw-rw-r-- root/root 874 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/tcm_qla2xxx.c -rw-rw-r-- root/root 2432 2024-07-25 14:20 kmod-qla2xxx-10.02.09.00_k/src/tcm_qla2xxx.h + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-qla2xxx-10.02.09.00_k + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'override qla2xxx * weak-updates/qlgc-qla2xxx' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IltWpA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kmod-qla2xxx-10.02.09.00_k + make -C /usr/src/kernels/5.10.134-17.an23.x86_64/ M=/builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src -j32 grep: /lib/modules/5.10.134-17.an23.x86_64/source/include/linux/blk-mq-pci.h: No such file or directory grep: /lib/modules/5.10.134-17.an23.x86_64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/5.10.134-17.an23.x86_64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/5.10.134-17.an23.x86_64/source/include/scsi/scsi_cmnd.h: No such file or directory grep: /lib/modules/5.10.134-17.an23.x86_64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/5.10.134-17.an23.x86_64/source/include/scsi/scsi_host.h: No such file or directory In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c:12: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:31: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:6: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:17, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/blkdev.h:6, from ./include/linux/blk-mq.h:6, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./include/linux/list.h:9, from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:17: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/scsi/scsi_tcq.h:6, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:29: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: In function 'qla2x00_start_timer': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 232 | init_timer(_tmr); \ | ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:9: note: in expansion of macro 'qla_timer_setup' 480 | qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:9: note: in expansion of macro 'qla_timer_setup' 480 | qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:9: note: in expansion of macro 'qla_timer_setup' 480 | qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: In function 'qla2x00_start_perf_timer': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:516:17: note: in expansion of macro 'qla_timer_setup' 516 | qla_timer_setup(&vha->perf_timer, qla2xxx_perf_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:516:17: note: in expansion of macro 'qla_timer_setup' 516 | qla_timer_setup(&vha->perf_timer, qla2xxx_perf_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c: In function 'qla2x00_init_async_sp': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from ./include/linux/vmalloc.h:5, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c:9: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 232 | init_timer(_tmr); \ | ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:9: note: in expansion of macro 'qla_timer_setup' 2694 | qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); | ^~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:9: note: in expansion of macro 'qla_timer_setup' 2694 | qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:9: note: in expansion of macro 'qla_timer_setup' 2694 | qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c: In function 'qla_edif_list_add_sa_update_index': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 232 | init_timer(_tmr); \ | ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:9: note: in expansion of macro 'qla_timer_setup' 243 | qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:9: note: in expansion of macro 'qla_timer_setup' 243 | qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:9: note: in expansion of macro 'qla_timer_setup' 243 | qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: In function 'qla2x00_sp_compl': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:580:30: error: implicit declaration of function 'scsi_done' [-Werror=implicit-function-declaration] 580 | # define CALL_SCSI_DONE(cmd) scsi_done(cmd); | ^~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:908:9: note: in expansion of macro 'CALL_SCSI_DONE' 908 | CALL_SCSI_DONE(cmd); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.o] Error 1 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.o] Error 1 cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.o] Error 1 cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.o] Error 1 cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: At top level: make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.o] Error 1 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:22:35: error: initialization of 'int (*)(struct scsi_device *, int)' from incompatible pointer type 'int (*)(struct scsi_device *, int, int)' [-Werror=incompatible-pointer-types] 22 | .change_queue_depth = qla2x00_change_queue_depth, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:322:9: note: in expansion of macro 'QLA_SCSI_QUEUE_DEPTH' 322 | QLA_SCSI_QUEUE_DEPTH \ | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:7910:9: note: in expansion of macro 'qla_scsi_templ_compat_entries' 7910 | qla_scsi_templ_compat_entries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:22:35: note: (near initialization for 'qla2xxx_driver_template.change_queue_depth') 22 | .change_queue_depth = qla2x00_change_queue_depth, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:322:9: note: in expansion of macro 'QLA_SCSI_QUEUE_DEPTH' 322 | QLA_SCSI_QUEUE_DEPTH \ | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:7910:9: note: in expansion of macro 'qla_scsi_templ_compat_entries' 7910 | qla_scsi_templ_compat_entries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.o] Error 1 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.o] Error 1 make: *** [Makefile:1834: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.IltWpA (%build) RPM build warnings: RPM build errors: line 33: It's not recommended to have unversioned Obsoletes: Obsoletes: hpqlgc-qla2xxx Bad exit status from /var/tmp/rpm-tmp.IltWpA (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7ac2f26619624a6a9a70b35247e67416 -D /var/lib/mock/dist-an23-kernel-5.10.134-17-build-390179-71967/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 7ac2f26619624a6a9a70b35247e67416 -D /var/lib/mock/dist-an23-kernel-5.10.134-17-build-390179-71967/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hwryz5n4:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'