From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] mlxsw: spectrum: Fix error return code in mlxsw_sp_port_create() Date: Wed, 08 Nov 2017 13:26:52 +0900 (KST) Message-ID: <20171108.132652.61823695506533085.davem@davemloft.net> References: <1509966688-76298-1-git-send-email-weiyongjun1@huawei.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jiri@mellanox.com, idosch@mellanox.com, netdev@vger.kernel.org To: weiyongjun1@huawei.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:33824 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751015AbdKHE0z (ORCPT ); Tue, 7 Nov 2017 23:26:55 -0500 In-Reply-To: <1509966688-76298-1-git-send-email-weiyongjun1@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Wei Yongjun Date: Mon, 6 Nov 2017 11:11:28 +0000 > Fix to return a negative error code from the VID create error handling > case instead of 0, as done elsewhere in this function. > > Fixes: c57529e1d5d8 ("mlxsw: spectrum: Replace vPorts with Port-VLAN") > Signed-off-by: Wei Yongjun Applied.