[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A41023C.8040000@trash.net>
Date: Tue, 23 Jun 2009 18:26:36 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Joe Perches <joe@...ches.com>
CC: "David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
Joe Perches wrote:
> On Tue, 2009-06-23 at 18:03 +0200, Patrick McHardy wrote:
>> This patch is the result of an automatic spatch transformation to
>> convert all ndo_start_xmit() return values of 0 to NETDEV_TX_OK.
>
> It might be useful if you submitted the spatch source
> that created this transformation.
I would have added it to the changelog, but it includes some workarounds
for false-negatives since the version used in Debian seems to be buggy.
Namely, it didn't manage to find occurences if there was only one, so I
included a number of NOP transformations to work around that. Or maybe
I'm doing something wrong :)
Attached for reference.
View attachment "netdev.spatch" of type "text/plain" (502 bytes)
Powered by blists - more mailing lists