[scsi:misc 232/256] drivers//scsi/qlogicpti.c:1285:27: error: initialization from incompatible pointer type

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc
head:   5fe5a6c9acc03bcd98e0d1611b6a0fe17149c6cc
commit: af167bc42d86907a39a761539cb2990120ebbc8e [232/256] scsi: qlogicpti: move bus reset to host reset
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout af167bc42d86907a39a761539cb2990120ebbc8e
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

>> drivers//scsi/qlogicpti.c:1285:27: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .eh_host_reset_handler = qlogicpti_reset,
                              ^~~~~~~~~~~~~~~
   drivers//scsi/qlogicpti.c:1285:27: note: (near initialization for 'qpti_template.eh_host_reset_handler')
   cc1: some warnings being treated as errors

vim +1285 drivers//scsi/qlogicpti.c

  1277	
  1278	static struct scsi_host_template qpti_template = {
  1279		.module			= THIS_MODULE,
  1280		.name			= "qlogicpti",
  1281		.info			= qlogicpti_info,
  1282		.queuecommand		= qlogicpti_queuecommand,
  1283		.slave_configure	= qlogicpti_slave_configure,
  1284		.eh_abort_handler	= qlogicpti_abort,
> 1285		.eh_host_reset_handler	= qlogicpti_reset,
  1286		.can_queue		= QLOGICPTI_REQ_QUEUE_LEN,
  1287		.this_id		= 7,
  1288		.sg_tablesize		= QLOGICPTI_MAX_SG(QLOGICPTI_REQ_QUEUE_LEN),
  1289		.use_clustering		= ENABLE_CLUSTERING,
  1290	};
  1291	

---
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