Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389002-71967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8728ab85ffeb43b88f833a6f3ad5efea', '-D', '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389002-71967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/kmod-qla2xxx-5.10.134~17-10.02.09.00_k~1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389002-71967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b60994dfeb7b442a848e7db71d9f03b5', '-D', '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389002-71967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hnFIRG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-qla2xxx-10.02.09.00_k + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kmod-qla2xxx-10.02.09.00_k.tar.gz + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Snz6Zl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS ~/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src ~/build/BUILD/kmod-qla2xxx-10.02.09.00_k + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kmod-qla2xxx-10.02.09.00_k + pushd src + /usr/bin/make -C /usr/src/kernels/5.10.134-17.an23.x86_64 -j80 M=/builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src modules grep: /lib/modules/4.18.0-305.19.1.el8_4.x86_64/source/include/linux/blk-mq-pci.h: No such file or directory grep: /lib/modules/4.18.0-305.19.1.el8_4.x86_64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/4.18.0-305.19.1.el8_4.x86_64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/4.18.0-305.19.1.el8_4.x86_64/source/include/scsi/scsi_cmnd.h: No such file or directory grep: /lib/modules/4.18.0-305.19.1.el8_4.x86_64/source/include/linux/nvme-fc-driver.h: No such file or directory grep: /lib/modules/4.18.0-305.19.1.el8_4.x86_64/source/include/scsi/scsi_host.h: No such file or directory In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.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_edif.c:6: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:17, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.c:7: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mbx.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_gs.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.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_sup.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dbg.c:66: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c:12: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.c:8: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:6251, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:31: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_adjust_sdev_qdepth_up': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:37:17: error: 'struct scsi_device' has no member named 'ordered_tags' 37 | if (sdev->ordered_tags) | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:17: error: implicit declaration of function 'scsi_adjust_queue_depth'; did you mean 'scsi_change_queue_depth'? [-Werror=implicit-function-declaration] 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~~~~~~~~~ | scsi_change_queue_depth /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: error: 'MSG_ORDERED_TAG' undeclared (first use in this function); did you mean 'TCM_ORDERED_TAG'? 38 | scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, qdepth); | ^~~~~~~~~~~~~~~ | TCM_ORDERED_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:38:47: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:40:47: error: 'MSG_SIMPLE_TAG' undeclared (first use in this function); did you mean 'CF_SIMPLE_TAG'? 40 | scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); | ^~~~~~~~~~~~~~ | CF_SIMPLE_TAG /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:43:62: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 43 | "Queue depth adjusted-up to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 44 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_handle_queue_full': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:56:64: warning: format '%d' expects argument of type 'int', but argument 8 has type 'u64' {aka 'long long unsigned int'} [-Wformat=] 56 | "Queue depth adjusted-down to %d for nexus=%ld:%d:%d.\n", | ~^ | | | int | %lld 57 | sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); | ~~~~~~~~~ | | | u64 {aka long long unsigned int} /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla2x00_change_queue_depth': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:64:14: error: 'SCSI_QDEPTH_DEFAULT' undeclared (first use in this function) 64 | case SCSI_QDEPTH_DEFAULT: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:65:47: error: implicit declaration of function 'scsi_get_tag_type'; did you mean 'scsi_get_prot_type'? [-Werror=implicit-function-declaration] 65 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | ^~~~~~~~~~~~~~~~~ | scsi_get_prot_type /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:67:14: error: 'SCSI_QDEPTH_QFULL' undeclared (first use in this function) 67 | case SCSI_QDEPTH_QFULL: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./include/linux/sched.h:12, from ./include/linux/blkdev.h:6, from ./include/linux/blk-mq.h:6, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /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:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:70:14: error: 'SCSI_QDEPTH_RAMP_UP' undeclared (first use in this function) 70 | case SCSI_QDEPTH_RAMP_UP: | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: error: storage size of 'tv' isn't known 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c: In function 'qla_edif_list_add_sa_update_index': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 232 | init_timer(_tmr); \ | ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:9: note: in expansion of macro 'qla_timer_setup' 243 | qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:9: note: in expansion of macro 'qla_timer_setup' 243 | qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_edif.c:243:9: note: in expansion of macro 'qla_timer_setup' 243 | qla_timer_setup(&entry->timer, qla2x00_sa_replace_iocb_timeout, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spinlock.h:51, from ./include/linux/vmalloc.h:5, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx2.c:9: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_tmpl.o] Error 1 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ make[1]: *** Waiting for unfinished jobs.... ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from ./include/linux/list.h:9, from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:17: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from ./include/scsi/scsi_tcq.h:6, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.c:29: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:260:9: error: implicit declaration of function 'do_gettimeofday'; did you mean 'do_settimeofday64'? [-Werror=implicit-function-declaration] 260 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:259:24: warning: unused variable 'tv' [-Wunused-variable] 259 | struct timeval tv; | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: At top level: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:273:20: error: redefinition of 'cpu_to_be32_array' 273 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:11, from ./arch/x86/include/uapi/asm/byteorder.h:5, from ./include/asm-generic/bitops/le.h:6, from ./arch/x86/include/asm/bitops.h:395, from ./include/linux/bitops.h:29, from ./include/linux/kernel.h:12, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:11: ./include/linux/byteorder/generic.h:191:20: note: previous definition of 'cpu_to_be32_array' with type 'void(__be32 *, const u32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 191 | static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:281:20: error: redefinition of 'be32_to_cpu_array' 281 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ ./include/linux/byteorder/generic.h:199:20: note: previous definition of 'be32_to_cpu_array' with type 'void(u32 *, const __be32 *, size_t)' {aka 'void(unsigned int *, const unsigned int *, long unsigned int)'} 199 | static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:541:20: error: redefinition of 'set_driver_byte' 541 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:34: ./include/scsi/scsi_cmnd.h:327:20: note: previous definition of 'set_driver_byte' with type 'void(struct scsi_cmnd *, char)' 327 | static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:795:19: error: redefinition of 'list_is_first' 795 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ In file included from ./include/linux/module.h:13, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:14: ./include/linux/list.h:259:19: note: previous definition of 'list_is_first' with type 'int(const struct list_head *, const struct list_head *)' 259 | static inline int list_is_first(const struct list_head *list, | ^~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:831:8: error: redefinition of 'struct nvmefc_ls_rsp' 831 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.h:15, from /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_def.h:116: ./include/linux/nvme-fc-driver.h:119:8: note: originally defined here 119 | struct nvmefc_ls_rsp { | ^~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nvme.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_scm.o] Error 1 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: In function 'qla2x00_start_timer': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 232 | init_timer(_tmr); \ | ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:9: note: in expansion of macro 'qla_timer_setup' 480 | qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:9: note: in expansion of macro 'qla_timer_setup' 480 | qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:480:9: note: in expansion of macro 'qla_timer_setup' 480 | qla_timer_setup(&vha->timer, qla2x00_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: In function 'qla2x00_start_perf_timer': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:516:17: note: in expansion of macro 'qla_timer_setup' 516 | qla_timer_setup(&vha->perf_timer, qla2xxx_perf_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:516:17: note: in expansion of macro 'qla_timer_setup' 516 | qla_timer_setup(&vha->perf_timer, qla2xxx_perf_timer, 0, vha); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c: In function 'qla2x00_init_async_sp': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:232:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] 232 | init_timer(_tmr); \ | ^~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:9: note: in expansion of macro 'qla_timer_setup' 2694 | qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:233:15: error: 'struct timer_list' has no member named 'data' 233 | (_tmr)->data = (qla_timer_arg_t) (_cb); \ | ^~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:9: note: in expansion of macro 'qla_timer_setup' 2694 | qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:234:26: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(long unsigned int)' [-Werror=incompatible-pointer-types] 234 | (_tmr)->function = (void (*)(unsigned long))_func; | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.c:2694:9: note: in expansion of macro 'qla_timer_setup' 2694 | qla_timer_setup(&sp->u.iocb_cmd.timer, qla2x00_sp_timeout, 0, sp); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c: In function 'qla2x00_sp_compl': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:580:30: error: implicit declaration of function 'scsi_done' [-Werror=implicit-function-declaration] 580 | # define CALL_SCSI_DONE(cmd) scsi_done(cmd); | ^~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:908:9: note: in expansion of macro 'CALL_SCSI_DONE' 908 | CALL_SCSI_DONE(cmd); | ^~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mid.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_dfs.o] Error 1 cc1: some warnings being treated as errors cc1: some warnings being treated as errors /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_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_nx2.o] Error 1 cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_bsg.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_mr.o] Error 1 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_sup.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_nx.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_iocb.o] Error 1 cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_attr.o] Error 1 make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_isr.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_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_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:35: error: initialization of 'int (*)(struct scsi_device *, int)' from incompatible pointer type 'int (*)(struct scsi_device *, int, int)' [-Werror=incompatible-pointer-types] 22 | .change_queue_depth = qla2x00_change_queue_depth, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:322:9: note: in expansion of macro 'QLA_SCSI_QUEUE_DEPTH' 322 | QLA_SCSI_QUEUE_DEPTH \ | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:7910:9: note: in expansion of macro 'qla_scsi_templ_compat_entries' 7910 | qla_scsi_templ_compat_entries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:22:35: note: (near initialization for 'qla2xxx_driver_template.change_queue_depth') 22 | .change_queue_depth = qla2x00_change_queue_depth, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:322:9: note: in expansion of macro 'QLA_SCSI_QUEUE_DEPTH' 322 | QLA_SCSI_QUEUE_DEPTH \ | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.c:7910:9: note: in expansion of macro 'qla_scsi_templ_compat_entries' 7910 | qla_scsi_templ_compat_entries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_target.o] Error 1 /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h: In function 'qla_get_real_seconds': /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_compat.h:262:1: error: control reaches end of non-void function [-Werror=return-type] 262 | } | ^ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_os.o] Error 1 cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:286: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src/qla_init.o] Error 1 make: *** [Makefile:1834: /builddir/build/BUILD/kmod-qla2xxx-10.02.09.00_k/src] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Snz6Zl (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Snz6Zl (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b60994dfeb7b442a848e7db71d9f03b5 -D /var/lib/mock/dist-an23-kernel-5.10.134-17-build-389002-71967/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b60994dfeb7b442a848e7db71d9f03b5 -D /var/lib/mock/dist-an23-kernel-5.10.134-17-build-389002-71967/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.p7wpjikv:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-qla2xxx.spec'