On Wed, 2013-12-18 at 06:44 +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next > head: 31cf8df68491eb8bc2f07912e0e14f61e18f39fd > commit: ef47a634dc51c25183b7b20bbb850dd31494c6f2 [12/14] target_core_spc: Include target device descriptor in VPD page 83 > config: i386-randconfig-x000 (attached as .config) > > All warnings: > > drivers/target/target_core_spc.c: In function 'spc_emulate_inquiry': > >> drivers/target/target_core_spc.c:724:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] > } > ^ > Turning SE_INQUIRY_BUF down to 768 bytes. Thanks Fenguang! --nab > vim +724 drivers/target/target_core_spc.c > > 1fd032ee Christoph Hellwig 2012-05-20 708 } > 1fd032ee Christoph Hellwig 2012-05-20 709 } > 1fd032ee Christoph Hellwig 2012-05-20 710 > 1fd032ee Christoph Hellwig 2012-05-20 711 pr_err("Unknown VPD Code: 0x%02x\n", cdb[2]); > de103c93 Christoph Hellwig 2012-11-06 712 ret = TCM_INVALID_CDB_FIELD; > 1fd032ee Christoph Hellwig 2012-05-20 713 > 1fd032ee Christoph Hellwig 2012-05-20 714 out: > ffe7b0e9 Paolo Bonzini 2012-09-07 715 rbuf = transport_kmap_data_sg(cmd); > 49df9fc9 Nicholas Bellinger 2013-01-29 716 if (rbuf) { > 49df9fc9 Nicholas Bellinger 2013-01-29 717 memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length)); > 49df9fc9 Nicholas Bellinger 2013-01-29 718 transport_kunmap_data_sg(cmd); > 49df9fc9 Nicholas Bellinger 2013-01-29 719 } > 1fd032ee Christoph Hellwig 2012-05-20 720 > 1fd032ee Christoph Hellwig 2012-05-20 721 if (!ret) > 1fd032ee Christoph Hellwig 2012-05-20 722 target_complete_cmd(cmd, GOOD); > 1fd032ee Christoph Hellwig 2012-05-20 723 return ret; > 1fd032ee Christoph Hellwig 2012-05-20 @724 } > 1fd032ee Christoph Hellwig 2012-05-20 725 > d4b2b867 Roland Dreier 2012-10-31 726 static int spc_modesense_rwrecovery(struct se_device *dev, u8 pc, u8 *p) > 1fd032ee Christoph Hellwig 2012-05-20 727 { > 1fd032ee Christoph Hellwig 2012-05-20 728 p[0] = 0x01; > 1fd032ee Christoph Hellwig 2012-05-20 729 p[1] = 0x0a; > 1fd032ee Christoph Hellwig 2012-05-20 730 > d4b2b867 Roland Dreier 2012-10-31 731 /* No changeable values for now */ > d4b2b867 Roland Dreier 2012-10-31 732 if (pc == 1) > > :::::: The code at line 724 was first introduced by commit > :::::: 1fd032ee10d2816c947f5d5b9abda95e728f0a8f target: move code for CDB emulation > > :::::: TO: Christoph Hellwig <hch@xxxxxxxxxxxxx> > :::::: CC: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > --- > 0-DAY kernel build testing backend Open Source Technology Center > http://lists.01.org/mailman/listinfo/kbuild Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html