From: David Miller Subject: Re: [PATCH -next] net: ethernet: ti: cpsw: fix error return code in cpsw_set_channels() Date: Fri, 26 Aug 2016 21:50:08 -0700 (PDT) Message-ID: <20160826.215008.1804199901151222246.davem@davemloft.net> References: <1472222143-3604-1-git-send-email-weiyj.lk@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1472222143-3604-1-git-send-email-weiyj.lk@gmail.com> Sender: netdev-owner@vger.kernel.org To: weiyj.lk@gmail.com Cc: mugunthanvnm@ti.com, grygorii.strashko@ti.com, ivan.khoronzhuk@linaro.org, weiyongjun1@huawei.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org List-Id: linux-omap@vger.kernel.org From: Wei Yongjun Date: Fri, 26 Aug 2016 14:35:43 +0000 > From: Wei Yongjun > > Fix to return a negative error code from the cpsw_fill_rx_channels() > error handling case instead of 0, as done elsewhere in this function. > > Fixes: ce52c744574b ("net: ethernet: ti: cpsw: add ethtool channels support") > Signed-off-by: Wei Yongjun Applied.