From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: sun: fix return type of ndo_start_xmit function Date: Wed, 19 Sep 2018 21:19:47 -0700 (PDT) Message-ID: <20180919.211947.1813992126020000943.davem@davemloft.net> References: <20180919112132.26616-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: shannon.nelson@oracle.com, alexander.h.duyck@intel.com, yanjun.zhu@oracle.com, jeffrey.t.kirsher@intel.com, tklauser@distanz.ch, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: yuehaibing@huawei.com Return-path: In-Reply-To: <20180919112132.26616-1-yuehaibing@huawei.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: YueHaibing Date: Wed, 19 Sep 2018 19:21:32 +0800 > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > which is a typedef for an enum type, but the implementation in this > driver returns an 'int'. > > Found by coccinelle. > > Signed-off-by: YueHaibing Applied.