From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: thunderx: Fix error return code in nicvf_open() Date: Wed, 11 Jan 2017 16:12:51 -0500 (EST) Message-ID: <20170111.161251.1979714688980792559.davem@davemloft.net> References: <20170111163251.19367-1-weiyj.lk@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: weiyongjun1@huawei.com, sgoutham@cavium.com, rric@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org To: weiyj.lk@gmail.com Return-path: In-Reply-To: <20170111163251.19367-1-weiyj.lk@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: netdev.vger.kernel.org From: Wei Yongjun Date: Wed, 11 Jan 2017 16:32:51 +0000 > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: 712c31853440 ("net: thunderx: Program LMAC credits based on MTU") > Signed-off-by: Wei Yongjun Applied.