On Wed, 2012-11-28 at 18:01 +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next > head: 66e9865ee342f46259a45a5fbe50002fb73d53be > commit: 66e9865ee342f46259a45a5fbe50002fb73d53be [42/42] ib_srpt: Convert TMR path to target_submit_tmr > config: make ARCH=x86_64 allmodconfig > > All warnings: > > drivers/infiniband/ulp/srpt/ib_srpt.c: In function 'srpt_handle_tsk_mgmt': > drivers/infiniband/ulp/srpt/ib_srpt.c:1832:6: warning: unused variable 'res' [-Wunused-variable] > Dropping this unused variable now. Thanks Fengguang! --nab > vim +1832 +/res drivers/infiniband/ulp/srpt/ib_srpt.c > > a42d985b Bart Van Assche 2011-10-14 1816 * > a42d985b Bart Van Assche 2011-10-14 1817 * Returns 0 if and only if the request will be processed by the target core. > a42d985b Bart Van Assche 2011-10-14 1818 * > a42d985b Bart Van Assche 2011-10-14 1819 * For more information about SRP_TSK_MGMT information units, see also section > a42d985b Bart Van Assche 2011-10-14 1820 * 6.7 in the SRP r16a document. > a42d985b Bart Van Assche 2011-10-14 1821 */ > a42d985b Bart Van Assche 2011-10-14 1822 static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, > a42d985b Bart Van Assche 2011-10-14 1823 struct srpt_recv_ioctx *recv_ioctx, > a42d985b Bart Van Assche 2011-10-14 1824 struct srpt_send_ioctx *send_ioctx) > a42d985b Bart Van Assche 2011-10-14 1825 { > a42d985b Bart Van Assche 2011-10-14 1826 struct srp_tsk_mgmt *srp_tsk; > a42d985b Bart Van Assche 2011-10-14 1827 struct se_cmd *cmd; > 66e9865e Nicholas Bellinger 2012-11-28 1828 struct se_session *sess = ch->sess; > a42d985b Bart Van Assche 2011-10-14 1829 uint64_t unpacked_lun; > 66e9865e Nicholas Bellinger 2012-11-28 1830 uint32_t tag = 0; > a42d985b Bart Van Assche 2011-10-14 1831 int tcm_tmr; > 66e9865e Nicholas Bellinger 2012-11-28 @1832 int res, rc; > a42d985b Bart Van Assche 2011-10-14 1833 > a42d985b Bart Van Assche 2011-10-14 1834 BUG_ON(!send_ioctx); > a42d985b Bart Van Assche 2011-10-14 1835 > a42d985b Bart Van Assche 2011-10-14 1836 srp_tsk = recv_ioctx->ioctx.buf; > a42d985b Bart Van Assche 2011-10-14 1837 cmd = &send_ioctx->cmd; > a42d985b Bart Van Assche 2011-10-14 1838 > a42d985b Bart Van Assche 2011-10-14 1839 pr_debug("recv tsk_mgmt fn %d for task_tag %lld and cmd tag %lld" > a42d985b Bart Van Assche 2011-10-14 1840 " cm_id %p sess %p\n", srp_tsk->tsk_mgmt_func, > > --- > 0-DAY kernel build testing backend Open Source Technology Center > Fengguang Wu, Yuanhan Liu 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