projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1bf78b
)
net: fixup type in netdev_start_xmit()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sat, 24 Nov 2018 09:01:41 +0000
(12:01 +0300)
committer
David S. Miller
<davem@davemloft.net>
Sun, 25 Nov 2018 01:33:21 +0000
(17:33 -0800)
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>
include/linux/netdevice.h
patch
|
blob
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index 4b4207ebd5c0be3a075ecc2e4b4541ed3b6a3d5b..1eeb019d85a301aef3f67c1a6e6cdab91042b3e8 100644
(file)
--- 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;
-
in
t rc;
+
netdev_tx_
t rc;
rc = __netdev_start_xmit(ops, skb, dev, more);
if (rc == NETDEV_TX_OK)