[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201704010618.41uQ4Nk3%fengguang.wu@intel.com>
Date: Sat, 1 Apr 2017 06:09:59 +0800
From: kbuild test robot <lkp@...el.com>
To: Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, martin.petersen@...cle.com,
Dmitry Monakhov <dmonakhov@...nvz.org>
Subject: Re: [PATCH 7/8] T10: Move opencoded contants to common header
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
Download attachment ".config.gz" of type "application/gzip" (25149 bytes)
Powered by blists - more mailing lists