ksz884x: convert to netdev_tx_t

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, June 1, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/5ed83663f77ee7404022d046321f69545cd311b8
Commit:     5ed83663f77ee7404022d046321f69545cd311b8
Parent:     aa989f5e46bb913e1a5966bb7d32eb2d00c1894e
Author:     Denis Kirjanov <dkirjanov@hera.kernel.org>
AuthorDate: Mon May 31 00:24:49 2010 +0000
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Tue Jun 1 00:24:32 2010 -0700

    ksz884x: convert to netdev_tx_t
    
    Convert TX hook to netdev_tx_t type
    
    Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/ksz884x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c
index c80ca64..4568b6f 100644
--- a/drivers/net/ksz884x.c
+++ b/drivers/net/ksz884x.c
@@ -4854,7 +4854,7 @@ static inline void copy_old_skb(struct sk_buff *old, struct sk_buff *skb)
  *
  * Return 0 if successful; otherwise an error code indicating failure.
  */
-static int netdev_tx(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t netdev_tx(struct sk_buff *skb, struct net_device *dev)
 {
 	struct dev_priv *priv = netdev_priv(dev);
 	struct dev_info *hw_priv = priv->adapter;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ksz884x: convert to netdev_tx_t, Linux Kernel Mailing ..., (Tue Jun 1, 9:59 am)