Re: [PATCH 7/8] T10: Move opencoded contants to common header

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

 



Hi Dmitry,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc4]
[cannot apply to block/for-next next-20170331]
[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/Dmitry-Monakhov/block-T10-DIF-Fixes-and-cleanups/20170401-043532
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/scsi//qla2xxx/qla_isr.c: In function 'qla2x00_handle_dif_error':
>> drivers/scsi//qla2xxx/qla_isr.c:1953:20: error: 'T10_APP_TAG' undeclared (first use in this function)
     if ((a_app_tag == T10_APP_TAG) &&
                       ^~~~~~~~~~~
   drivers/scsi//qla2xxx/qla_isr.c:1953:20: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/scsi//qla2xxx/qla_isr.c:1955:21: error: 'T10_REF_TAG' undeclared (first use in this function)
          (a_ref_tag == T10_REF_TAG))) {
                        ^~~~~~~~~~~
   In file included from include/linux/blkdev.h:20:0,
                    from include/linux/blk-mq.h:4,
                    from include/scsi/scsi_host.h:10,
                    from drivers/scsi//qla2xxx/qla_def.h:31,
                    from drivers/scsi//qla2xxx/qla_isr.c:7:
   At top level:
   include/linux/bio.h:788:12: warning: 'bio_integrity_setup' defined but not used [-Wunused-function]
    static int bio_integrity_setup(struct bio *bio)
               ^~~~~~~~~~~~~~~~~~~

vim +/T10_APP_TAG +1953 drivers/scsi//qla2xxx/qla_isr.c

  1947	
  1948		/*
  1949		 * Ignore sector if:
  1950		 * For type     3: ref & app tag is all 'f's
  1951		 * For type 0,1,2: app tag is all 'f's
  1952		 */
> 1953		if ((a_app_tag == T10_APP_TAG) &&
  1954		    ((scsi_get_prot_type(cmd) != SCSI_PROT_DIF_TYPE3) ||
> 1955		     (a_ref_tag == T10_REF_TAG))) {
  1956			uint32_t blocks_done, resid;
  1957			sector_t lba_s = scsi_get_lba(cmd);
  1958	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux