From mboxrd@z Thu Jan 1 00:00:00 1970 From: YueHaibing Subject: Re: [PATCH v2] rxrpc: use correct kvec num while send response packet in rxrpc_reject_packets Date: Wed, 10 Oct 2018 09:19:13 +0800 Message-ID: <0f16d0ff-dfbe-146f-eacc-c831bb0e6576@huawei.com> References: <1539052273-34824-1-git-send-email-yuehaibing@huawei.com> <1539094525-174123-1-git-send-email-yuehaibing@huawei.com> <365d2f43-089a-1246-d354-2b3481d50b9a@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , To: Sergei Shtylyov , David Howells , Return-path: Received: from szxga04-in.huawei.com ([45.249.212.190]:13608 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725800AbeJJIjD (ORCPT ); Wed, 10 Oct 2018 04:39:03 -0400 In-Reply-To: <365d2f43-089a-1246-d354-2b3481d50b9a@cogentembedded.com> Sender: netdev-owner@vger.kernel.org List-ID: On 2018/10/9 23:34, Sergei Shtylyov wrote: > On 10/09/2018 05:15 PM, YueHaibing wrote: > >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> net/rxrpc/output.c: In function 'rxrpc_reject_packets': >> net/rxrpc/output.c:527:11: warning: >> variable 'ioc' set but not used [-Wunused-but-set-variable] >> >> 'ioc' is the correct kvec num while send response packet. >> >> Fixes: commit ece64fec164f ("rxrpc: Emit BUSY packets when supposed to rather than > ABORTs") > > "commit" not needed here. Thank you for review. > >> Signed-off-by: YueHaibing > [...] > > MBR, Sergei > > >