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-389004-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~1.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-389004-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.GyKq2D + 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 -xof - + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lJwC5Y + umask 022 ~/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src ~/build/BUILD/kmod-qla2xxx-10.02.09.00_k + cd /builddir/build/BUILD + cd kmod-qla2xxx-10.02.09.00_k + pushd src + /usr/bin/make -C /usr/src/kernels/5.10.134-17.an8.aarch64 -j80 M=/builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src modules make: Entering directory '/usr/src/kernels/5.10.134-17.an8.aarch64' grep: /lib/modules/4.18.0-305.17.1.el8_4.aarch64/source/include/linux/blk-mq-pci.h: No such file or directory grep: /lib/modules/4.18.0-305.17.1.el8_4.aarch64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/4.18.0-305.17.1.el8_4.aarch64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/4.18.0-305.17.1.el8_4.aarch64/source/include/scsi/scsi_cmnd.h: No such file or directory grep: /lib/modules/4.18.0-305.17.1.el8_4.aarch64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/4.18.0-305.17.1.el8_4.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 CC [M] /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/tcm_qla2xxx.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_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_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_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_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_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_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_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_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_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_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 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_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_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_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_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_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_iocb.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_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 /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 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 /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: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: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: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: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: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: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_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: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: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: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: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: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: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: In function 'qla2x00_handle_queue_full': /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: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: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: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: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: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: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: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_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: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: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 '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: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: 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: 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: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: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: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: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: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: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: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_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) ^~~~~~~~~~~~~~~~~ /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_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 ./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) ^~~~~~~~~~~~~~~~~ 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_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) ^~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~ /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 ./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 { ^~~~~~~~~~~~~ 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: 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 ./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 /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: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: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) ^~~~~~~~~~~~~~~~~ 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 ./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_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 /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_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 ./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_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: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_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) ^~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~ /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_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_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 ./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_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_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_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/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_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_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_mid.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_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 { ^~~~~~~~~~~~~ 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_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, ^~~~~~~~~~~~~ /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_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 { ^~~~~~~~~~~~~ /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_tmpl.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: 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_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_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) ^~~~~~~~~~~~~~~~~ /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_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) ^~~~~~~~~~~~~~~ /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_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, ^~~~~~~~~~~~~ /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_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 ./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_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 { ^~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~ 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 ./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 { ^~~~~~~~~~~~~ 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 { ^~~~~~~~~~~~~ /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_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) ^~~~~~~~~~~~~~~~~ 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_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_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) ^~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~ 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_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_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_nx.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 ./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_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) ^~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~ 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 /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: /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) ^~~~~~~~~~~~~~~~~ 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 { ^~~~~~~~~~~~~ /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: 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_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 /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 /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) ^~~~~~~~~~~~~~~~~ /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) ^~~~~~~~~~~~~~~ /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) ^~~~~~~~~~~~~~~ /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_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, ^~~~~~~~~~~~~ /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 ./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 /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_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_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) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_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) ^~~~~~~~~~~~~~~ /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; ^~ 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: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: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_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_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_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 /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: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; ^~ 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_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); ^~~~~~~~~~~~~~~ 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.... /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); ^~~~~~~~~~~~~~~ /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) ^~~~~~~~~~~~~~~~~ /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/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_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) ^~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~ 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_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, ^~~~~~~~~~~~~ /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_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 { ^~~~~~~~~~~~~ /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_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_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_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 ./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_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_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) ^~~~~~~~~~~~~~~~~ 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_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_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, ^~~~~~~~~~~~~ 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 { ^~~~~~~~~~~~~ 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: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; ^~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.o] Error 1 /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_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_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) ^~~~~~~~~~~~~~~~~ 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 /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_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 { ^~~~~~~~~~~~~ /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); ^~~~~~~~~~~~~~ /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_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) ^~~~~~~~~~~~~~~~~ /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) ^~~~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~ 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/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) ^~~~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~ 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 { ^~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~ 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 /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_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 /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] } ^ 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, ^~~~~~~~~~~~~~~ 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_scm.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.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] } ^ 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_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] } ^ 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_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_dfs.o] Error 1 cc1: some warnings being treated as errors 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); ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /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_mr.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.o] Error 1 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 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 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_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_edif.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_attr.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_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_mbx.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.lJwC5Y (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.lJwC5Y (%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'