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 aarch64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-390204-71960/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kmod-qla2xxx-5.10.134~17-10.02.09.00_k~8.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-390204-71960/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CEcOnh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-qla2xxx-10.02.09.00_k + /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' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NkKPWN + umask 022 + cd /builddir/build/BUILD + cd kmod-qla2xxx-10.02.09.00_k + make -C /usr/src/kernels/5.10.134-17.an8.aarch64/ M=/builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src -j32 make: Entering directory '/usr/src/kernels/5.10.134-17.an8.aarch64' grep: /lib/modules/5.10.134-17.an8.aarch64/source/include/linux/blk-mq-pci.h: No such file or directory grep: /lib/modules/5.10.134-17.an8.aarch64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/5.10.134-17.an8.aarch64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/5.10.134-17.an8.aarch64/source/include/scsi/scsi_cmnd.h: No such file or directory grep: /lib/modules/5.10.134-17.an8.aarch64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/5.10.134-17.an8.aarch64/source/include/scsi/scsi_host.h: No such file or directory CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.o CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.o 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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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_os.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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_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:12: error: 'struct scsi_device' has no member named 'ordered_tags'; did you mean 'simple_tags'? if (sdev->ordered_tags) ^~~~~~~~~~~~ simple_tags /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:3: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:33: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 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:33: 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:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'TCM_SIMPLE_TAG'? scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); ^~~~~~~~~~~~~~ TCM_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 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:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:33: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'TCM_SIMPLE_TAG'? scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); ^~~~~~~~~~~~~~ TCM_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:55: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", ~^ %lld sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); ~~~~~~~~~ /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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_DEFAULT /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_DEFAULT /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_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:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_DEFAULT /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_DEFAULT /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_DEFAULT /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:7: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function); did you mean 'HCTX_TYPE_DEFAULT'? case SCSI_QDEPTH_DEFAULT: ^~~~~~~~~~~~~~~~~~~ HCTX_TYPE_DEFAULT /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:33: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 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:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:7: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function); did you mean 'CS_QUEUE_FULL'? case SCSI_QDEPTH_QFULL: ^~~~~~~~~~~~~~~~~ CS_QUEUE_FULL /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_UP: ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here 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:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_UP: ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_UP: ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_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_isr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 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' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here static inline int list_is_first(const struct list_head *list, ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ 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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_sup.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:795:19: error: redefinition of 'list_is_first' 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_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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_UP: ^~~~~~~~~~~~~~~~~~~ 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ 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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_UP: ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_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_mid.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 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_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:281:20: error: redefinition of 'be32_to_cpu_array' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here static inline int list_is_first(const struct list_head *list, ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here 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:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) case SCSI_QDEPTH_RAMP_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_mid.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /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:17: error: storage size of 'tv' isn't known 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:795:19: error: redefinition of 'list_is_first' 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' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here static inline int list_is_first(const struct list_head *list, ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:281:20: error: redefinition of 'be32_to_cpu_array' static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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: 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' 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:273:20: error: redefinition of 'cpu_to_be32_array' 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./include/linux/list.h:9, from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./include/linux/list.h:9, from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 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:541:20: error: redefinition of 'set_driver_byte' 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: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:541:20: error: redefinition of 'set_driver_byte' 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:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:541:20: error: redefinition of 'set_driver_byte' 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, 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: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:795:19: error: redefinition of 'list_is_first' 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_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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:795:19: error: redefinition of 'list_is_first' 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_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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) ^~~~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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_nvme.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:7: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 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:17: error: storage size of 'tv' isn't known struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here static inline int list_is_first(const struct list_head *list, ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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' was here 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: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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c:12: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ 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:795:19: error: redefinition of 'list_is_first' 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' static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) ^~~~~~~~~~~~~~~~~ In file included 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/list.h:259:19: note: previous definition of 'list_is_first' was here static inline int list_is_first(const struct list_head *list, ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c:12: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: 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:281:20: error: redefinition of 'be32_to_cpu_array' 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:273:20: error: redefinition of 'cpu_to_be32_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:6: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:6: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:6: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ 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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:6: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:6: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ 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:541:20: error: redefinition of 'set_driver_byte' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' was here 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: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:795:19: error: redefinition of 'list_is_first' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ cc1: some warnings being treated as errors 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_iocb.c: In function 'qla2x00_init_async_sp': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] init_timer(_tmr); \ ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:2: note: in expansion of macro 'qla_timer_setup' 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:233:8: error: 'struct timer_list' has no member named 'data' (_tmr)->data = (qla_timer_arg_t) (_cb); \ ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:2: note: in expansion of macro 'qla_timer_setup' 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:234:19: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] (_tmr)->function = (void (*)(unsigned long))_func; ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:2: note: in expansion of macro 'qla_timer_setup' qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); ^~~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 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_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:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] init_timer(_tmr); \ ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:2: note: in expansion of macro 'qla_timer_setup' 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:8: error: 'struct timer_list' has no member named 'data' (_tmr)->data = (qla_timer_arg_t) (_cb); \ ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:2: note: in expansion of macro 'qla_timer_setup' 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:19: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] (_tmr)->function = (void (*)(unsigned long))_func; ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:2: note: in expansion of macro 'qla_timer_setup' qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:17: warning: unused variable 'tv' [-Wunused-variable] 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' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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' was here 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: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:281:20: error: redefinition of 'be32_to_cpu_array' 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/arm64/include/uapi/asm/byteorder.h:23, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:29, 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:199:20: note: previous definition of 'be32_to_cpu_array' was here static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors 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:541:20: error: redefinition of 'set_driver_byte' 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' was here 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: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:795:19: error: redefinition of 'list_is_first' 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_target.c:17: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' was here 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_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:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 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, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:31: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here struct nvmefc_ls_rsp { ^~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.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_mid.o] Error 1 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 '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] } ^ 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_nvme.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_scm.o] Error 1 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_os.c: In function 'qla2x00_start_timer': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] init_timer(_tmr); \ ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:2: note: in expansion of macro 'qla_timer_setup' qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:8: error: 'struct timer_list' has no member named 'data' (_tmr)->data = (qla_timer_arg_t) (_cb); \ ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:2: note: in expansion of macro 'qla_timer_setup' qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:19: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] (_tmr)->function = (void (*)(unsigned long))_func; ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:2: note: in expansion of macro 'qla_timer_setup' qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); ^~~~~~~~~~~~~~~ /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:8: error: 'struct timer_list' has no member named 'data' (_tmr)->data = (qla_timer_arg_t) (_cb); \ ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:516:3: note: in expansion of macro 'qla_timer_setup' 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:19: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] (_tmr)->function = (void (*)(unsigned long))_func; ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:516:3: note: in expansion of macro 'qla_timer_setup' qla_timer_setup(&vha->perf_timer, qla2xxx_perf_timer, 0, vha); ^~~~~~~~~~~~~~~ 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_sup.o] Error 1 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 '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] } ^ 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 '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] } ^ 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_bsg.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.o] Error 1 /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'; did you mean 'scsi_prot'? [-Werror=implicit-function-declaration] # define CALL_SCSI_DONE(cmd) scsi_done(cmd); ^~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:908:2: note: in expansion of macro 'CALL_SCSI_DONE' CALL_SCSI_DONE(cmd); ^~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.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_nx.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_gs.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_iocb.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 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_attr.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 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_os.c: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:22:24: error: initialization of 'int (*)(struct scsi_device *, int)' from incompatible pointer type 'int (*)(struct scsi_device *, int, int)' [-Werror=incompatible-pointer-types] .change_queue_depth = qla2x00_change_queue_depth, ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:322:2: note: in expansion of macro 'QLA_SCSI_QUEUE_DEPTH' QLA_SCSI_QUEUE_DEPTH \ ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:7910:2: note: in expansion of macro 'qla_scsi_templ_compat_entries' qla_scsi_templ_compat_entries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:22:24: note: (near initialization for 'qla2xxx_driver_template.change_queue_depth') .change_queue_depth = qla2x00_change_queue_depth, ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:322:2: note: in expansion of macro 'QLA_SCSI_QUEUE_DEPTH' QLA_SCSI_QUEUE_DEPTH \ ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:7910:2: note: in expansion of macro 'qla_scsi_templ_compat_entries' 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] } ^ 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_os.o] Error 1 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 '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] } ^ 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 make: Leaving directory '/usr/src/kernels/5.10.134-17.an8.aarch64' error: Bad exit status from /var/tmp/rpm-tmp.NkKPWN (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NkKPWN (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'