Hi Michael,

[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    
https://github.com/0day-ci/linux/commits/himanshu-madhani-cavium-com/qla2xxx-feature-updates-for-driver/20161105-054615
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: x86_64-acpi-redef (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 >>):

   In file included from drivers/scsi/qla2xxx/qla_def.h:3934:0,
                    from drivers/scsi/qla2xxx/qla_bottom.c:7:
   drivers/scsi/qla2xxx/qla_bottom.c: In function 'qla2xxx_start_scsi_mq':
>> drivers/scsi/qla2xxx/qla_gbl.h:225:20: error: inlining failed in call to 
>> always_inline 'qla24xx_build_scsi_iocbs': function body not available
    extern inline void qla24xx_build_scsi_iocbs(srb_t *, struct cmd_type_7 *,
                       ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/scsi/qla2xxx/qla_bottom.c:123:2: note: called from here
     qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/scsi/qla2xxx/qla_def.h:3934:0,
                    from drivers/scsi/qla2xxx/qla_bottom.c:7:
>> drivers/scsi/qla2xxx/qla_gbl.h:225:20: error: inlining failed in call to 
>> always_inline 'qla24xx_build_scsi_iocbs': function body not available
    extern inline void qla24xx_build_scsi_iocbs(srb_t *, struct cmd_type_7 *,
                       ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/scsi/qla2xxx/qla_bottom.c:123:2: note: called from here
     qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/qla24xx_build_scsi_iocbs +225 drivers/scsi/qla2xxx/qla_gbl.h

   219   */
   220  
   221  extern uint16_t qla2x00_calc_iocbs_32(uint16_t);
   222  extern uint16_t qla2x00_calc_iocbs_64(uint16_t);
   223  extern void qla2x00_build_scsi_iocbs_32(srb_t *, cmd_entry_t *, 
uint16_t);
   224  extern void qla2x00_build_scsi_iocbs_64(srb_t *, cmd_entry_t *, 
uint16_t);
 > 225  extern inline void qla24xx_build_scsi_iocbs(srb_t *, struct cmd_type_7 
 > *,
   226          uint16_t, struct req_que *);
   227  extern int qla2x00_start_scsi(srb_t *sp);
   228  extern int qla24xx_start_scsi(srb_t *sp);

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

Attachment: .config.gz
Description: application/gzip

Reply via email to