* [PATCH] net: fixup type in netdev_start_xmit()
@ 2018-11-24 9:01 Alexey Dobriyan
2018-11-25 1:33 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2018-11-24 9:01 UTC (permalink / raw)
To: davem; +Cc: netdev
Return code should be formally "netdev_tx_t".
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
include/linux/netdevice.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: fixup type in netdev_start_xmit()
2018-11-24 9:01 [PATCH] net: fixup type in netdev_start_xmit() Alexey Dobriyan
@ 2018-11-25 1:33 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-11-25 1:33 UTC (permalink / raw)
To: adobriyan; +Cc: netdev
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Sat, 24 Nov 2018 12:01:41 +0300
> Return code should be formally "netdev_tx_t".
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Applied to net-next.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-25 12:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-24 9:01 [PATCH] net: fixup type in netdev_start_xmit() Alexey Dobriyan
2018-11-25 1:33 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.