Re: [PATCH 4/5] qla2xxx: Changes to support N2N logins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Duane,

[auto build test WARNING on scsi/for-next]
[also build test WARNING on v4.14-rc4 next-20171009]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Madhani-Himanshu/qla2xxx-Patches-for-scsi-misc/20171013-130300
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   drivers/scsi/qla2xxx/qla_iocb.c: In function 'qla2x00_els_dcmd2_iocb_timeout':
   drivers/scsi/qla2xxx/qla_iocb.c:2612:6: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=]
         sp->name, sp->handle, fcport->port_name, fcport->d_id.b24);
         ^
   drivers/scsi/qla2xxx/qla_iocb.c: In function 'qla2x00_els_dcmd2_sp_done':
>> drivers/scsi/qla2xxx/qla_iocb.c:2635:6: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'uint32_t' [-Wformat=]
         sp->name, sp->handle, fcport->d_id.b24, fcport->port_name);
         ^
>> drivers/scsi/qla2xxx/qla_iocb.c:2635:6: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'uint8_t *' [-Wformat=]
   drivers/scsi/qla2xxx/qla_iocb.c:2635:6: warning: format '%p' expects a matching 'void *' argument [-Wformat=]

vim +2635 drivers/scsi/qla2xxx/qla_iocb.c

  2598	
  2599	static void
  2600	qla2x00_els_dcmd2_iocb_timeout(void *data)
  2601	{
  2602		srb_t *sp = data;
  2603		fc_port_t *fcport = sp->fcport;
  2604		struct scsi_qla_host *vha = sp->vha;
  2605		struct qla_hw_data *ha = vha->hw;
  2606		struct srb_iocb *lio = &sp->u.iocb_cmd;
  2607		unsigned long flags = 0;
  2608		int res;
  2609	
  2610		ql_dbg(ql_dbg_io + ql_dbg_disc, vha, 0x3069,
  2611		    "%s %d ELS Timeout, %8phC hdl=%x, portid=%06x\n",
> 2612		    sp->name, sp->handle, fcport->port_name, fcport->d_id.b24);
  2613	
  2614		/* Abort the exchange */
  2615		spin_lock_irqsave(&ha->hardware_lock, flags);
  2616		res = ha->isp_ops->abort_command(sp);
  2617		ql_dbg(ql_dbg_io, vha, 0x3070,
  2618		    "mbx abort_command %s\n",
  2619		    (res == QLA_SUCCESS) ? "successful" : "failed");
  2620		spin_unlock_irqrestore(&ha->hardware_lock, flags);
  2621	
  2622		complete(&lio->u.els_plogi.comp);
  2623	}
  2624	
  2625	static void
  2626	qla2x00_els_dcmd2_sp_done(void *ptr, int res)
  2627	{
  2628		srb_t *sp = ptr;
  2629		fc_port_t *fcport = sp->fcport;
  2630		struct srb_iocb *lio = &sp->u.iocb_cmd;
  2631		struct scsi_qla_host *vha = sp->vha;
  2632	
  2633		ql_dbg(ql_dbg_io + ql_dbg_disc, vha, 0x3072,
  2634		    "%s %s ELS hdl=%x, portid=%06x done %8pC\n",
> 2635		    sp->name, sp->handle, fcport->d_id.b24, fcport->port_name);
  2636	
  2637		complete(&lio->u.els_plogi.comp);
  2638	}
  2639	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux