tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git 
queue
head:   4d13930836b3a61c70603178d8a3c60e633e40f1
commit: 39a54101d1cc581dbf494b0964537e795466e0d4 [6/14] target: Convert 
se_cmd->execute_cmd to target_iostate
config: sh-allyesconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 39a54101d1cc581dbf494b0964537e795466e0d4
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

Note: the target/queue HEAD 4d13930836b3a61c70603178d8a3c60e633e40f1 builds 
fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/target/target_core_sbc.c: In function 'sbc_setup_write_same':
>> drivers/target/target_core_sbc.c:384:19: error: assignment from incompatible 
>> pointer type [-Werror=incompatible-pointer-types]
     cmd->execute_cmd = ops->execute_write_same;
                      ^
   drivers/target/target_core_sbc.c: In function 'sbc_parse_cdb':
   drivers/target/target_core_sbc.c:1065:21: error: assignment from 
incompatible pointer type [-Werror=incompatible-pointer-types]
       cmd->execute_cmd = ops->execute_sync_cache;
                        ^
   cc1: some warnings being treated as errors

vim +384 drivers/target/target_core_sbc.c

cd063bef Nicholas Bellinger 2012-11-07  378             return 
TCM_UNSUPPORTED_SCSI_OPCODE;
d6e0175c Christoph Hellwig  2012-05-20  379  
afd73f1b Nicholas Bellinger 2015-02-14  380     ret = sbc_check_prot(dev, cmd, 
&cmd->t_task_cdb[0], sectors, true);
afd73f1b Nicholas Bellinger 2015-02-14  381     if (ret)
afd73f1b Nicholas Bellinger 2015-02-14  382             return ret;
afd73f1b Nicholas Bellinger 2015-02-14  383  
cd063bef Nicholas Bellinger 2012-11-07 @384     cmd->execute_cmd = 
ops->execute_write_same;
d6e0175c Christoph Hellwig  2012-05-20  385     return 0;
d6e0175c Christoph Hellwig  2012-05-20  386  }
d6e0175c Christoph Hellwig  2012-05-20  387  

:::::: The code at line 384 was first introduced by commit
:::::: cd063bef414c51d79b9c6ea7a8ef8f9d319529bc target/sbc: Seperate WRITE_SAME 
based on UNMAP flag in sbc_ops

:::::: TO: Nicholas Bellinger <n...@linux-iscsi.org>
:::::: CC: Nicholas Bellinger <n...@linux-iscsi.org>

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

Attachment: .config.gz
Description: Binary data

Reply via email to