From: Duane G. <dua...@ql...> - 2015-06-23 06:37:45
|
The makefile in qla2x00t_git is broken for inbox kernels, so I¹m working on a fix. Regards, Duane On 6/20/15, 11:48 AM, "Ross Anderson" <ros...@ds...> wrote: >Greetings, > >I'm not sure if this goes to scst or qlogic. > >Kernel 3.18.16 and 4.0.5 the qla target fails to build >output below. > >Thanks, >Ross Anderson > >gcc 4.8.4 x86_64 > >#make qla >cd qla2x00t_git/qla2x00-target && make all >make[1]: Entering directory >'/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla2x00-target' >make BUILD_2X_MODULE=y CONFIG_SCSI_QLA2XXX_TARGET=y \ > SUBDIRS=/usr/src/scst/qla2x00t_git/qla2x00-target/.. -C >/usr/src/scst/qla2x00t_git/qla2x00-target/.. all >make[2]: Entering directory '/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx' >qla: all >make BUILD_2X_MODULE=y CONFIG_SCSI_QLA2XXX_TARGET=y -C >/lib/modules/3.18.16/build >SUBDIRS=/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx BUILD_INI=m >make[3]: Entering directory '/usr/src/linux-3.18.16' > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.o >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c: In function >'__qla2xxx_eh_generic_reset': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c:1256:6: warning: >format '%d' expects argument of type 'int', but argument 8 has type >'u64' [-Wformat=] > cmd->device->id, cmd->device->lun, cmd); > ^ >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c:1281:6: warning: >format '%d' expects argument of type 'int', but argument 8 has type >'u64' [-Wformat=] > vha->host_no, cmd->device->id, cmd->device->lun, cmd); > ^ >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c:1289:6: warning: >format '%d' expects argument of type 'int', but argument 9 has type >'u64' [-Wformat=] > cmd); > ^ >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c: In function >'qla2x00_handle_queue_full': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c:1613:6: warning: >format '%d' expects argument of type 'int', but argument 8 has type >'u64' [-Wformat=] > sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); > ^ >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c: In function >'qla2x00_adjust_sdev_qdepth_up': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c:1636:6: warning: >format '%d' expects argument of type 'int', but argument 8 has type >'u64' [-Wformat=] > sdev->queue_depth, fcport->vha->host_no, sdev->id, sdev->lun); > ^ >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c: In function >'qla2x00_probe_one': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_os.c:3021:6: warning: >format '%d' expects argument of type 'int', but argument 11 has type >'u64' [-Wformat=] > host->transportt, sht->vendor_id); > ^ > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_init.o > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_mbx.o > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_iocb.o > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_isr.o >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_isr.c: In function >'qla2x00_handle_sense': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_isr.c:1866:7: warning: >format '%d' expects argument of type 'int', but argument 7 has type >'u64' [-Wformat=] > cp); > ^ >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_isr.c: In function >'qla2x00_status_entry': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_isr.c:2512:7: warning: >format '%d' expects argument of type 'int', but argument 10 has type >'u64' [-Wformat=] > resid_len, fw_resid_len, sp, cp); > ^ > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_gs.o > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_dbg.o > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_sup.o > CC [M] /usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_attr.o >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_attr.c: In function >'qla2x00_trace_level_store': >/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_attr.c:2595:3: error: >implicit declaration of function 'strict_strtoul' >[-Werror=implicit-function-declaration] > res = strict_strtoul(p, 0, &level); > ^ >cc1: some warnings being treated as errors >scripts/Makefile.build:257: recipe for target >'/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_attr.o' failed >make[4]: *** [/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla_attr.o] >Error 1 >Makefile:1381: recipe for target >'_module_/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx' failed >make[3]: *** [_module_/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx] Error 2 >make[3]: Leaving directory '/usr/src/linux-3.18.16' >Makefile:66: recipe for target 'all' failed >make[2]: *** [all] Error 2 >make[2]: Leaving directory '/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx' >Makefile:126: recipe for target 'qla2xxx_scst' failed >make[1]: *** [qla2xxx_scst] Error 2 >make[1]: Leaving directory >'/usr/src/scst-qla2xxx/drivers/scsi/qla2xxx/qla2x00-target' >Makefile:256: recipe for target 'qla' failed >make: *** [qla] Error 2 > >-------------------------------------------------------------------------- >---- >_______________________________________________ >Scst-devel mailing list >https://lists.sourceforge.net/lists/listinfo/scst-devel ________________________________ This message and any attached documents contain information from the sending company or its parent company(s), subsidiaries, divisions or branch offices that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. |