|
|
Log in / Subscribe / Register

net_tx_t: network device transmit return value change

From:  Stephen Hemminger <shemminger@vyatta.com>
To:  David Miller <davem@davemloft.net>
Subject:  [PATCH 00/19] net_tx_t: network device transmit return value change
Date:  Mon, 31 Aug 2009 22:50:39 -0700
Cc:  netdev@vger.kernel.org

This is a little change over a lot of files. It changes the
return value of network device transmit from an integer to
an enum type (like irqreturn_t).  This allows compiler to warn
about stupid code that tries to return -ENOBUFS or other mistakes
like that. All the code that did that is gone, but it would
be better to try and do some decent type checking.

This patch converts all the x86 drivers (except staging).
Other drivers will work but produce a warning until converted.

-- 

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds