From mboxrd@z Thu Jan 1 00:00:00 1970 From: davem@davemloft.net (David Miller) Date: Wed, 19 Sep 2018 21:19:15 -0700 (PDT) Subject: [PATCH net-next] net: broadcom: fix return type of ndo_start_xmit function In-Reply-To: <20180919104512.27068-1-yuehaibing@huawei.com> References: <20180919104512.27068-1-yuehaibing@huawei.com> Message-ID: <20180919.211915.1427299225867714230.davem@davemloft.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: YueHaibing Date: Wed, 19 Sep 2018 18:45:12 +0800 > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > which is a typedef for an enum type, so make sure the implementation in > this driver has returns 'netdev_tx_t' value, and change the function > return type to netdev_tx_t. > > Found by coccinelle. > > Signed-off-by: YueHaibing Applied.