aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-11-24 12:01:41 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-24 17:33:21 -0800
commit2183435c251e09df11e1b431c84416424b5fd2ac (patch)
tree9b16b042032635068acd245103493b016c12e199 /include
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-dev-2183435c251e09df11e1b431c84416424b5fd2ac.tar.xz
linux-dev-2183435c251e09df11e1b431c84416424b5fd2ac.zip
net: fixup type in netdev_start_xmit()
Return code should be formally "netdev_tx_t". Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 4b4207ebd5c0..1eeb019d85a3 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -4373,7 +4373,7 @@ static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_devi
struct netdev_queue *txq, bool more)
{
const struct net_device_ops *ops = dev->netdev_ops;
- int rc;
+ netdev_tx_t rc;
rc = __netdev_start_xmit(ops, skb, dev, more);
if (rc == NETDEV_TX_OK)