[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44f9d0cf-e842-696a-2e49-e16643ea668e@infradead.org>
Date: Wed, 19 Sep 2018 09:10:46 -0700
From: Geoff Levand <geoff@...radead.org>
To: YueHaibing <yuehaibing@...wei.com>, davem@...emloft.net,
benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
kou.ishizaki@...hiba.co.jp, andrew@...n.ch, f.fainelli@...il.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH net-next] net: toshiba: fix return type of ndo_start_xmit
function
Hi Yue,
On 09/19/2018 03:23 AM, YueHaibing wrote:
> 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 <yuehaibing@...wei.com>
I tested this against Linux-4.19-rc4, and it seemed to work OK.
Please remove the irrelevant line 'Found by coccinelle.' from the
commit message. With that change:
Acked-by: Geoff Levand <geoff@...radead.org>
-Geoff
Powered by blists - more mailing lists