From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Dobriyan Subject: [PATCH] net: fixup type in netdev_start_xmit() Date: Sat, 24 Nov 2018 12:01:41 +0300 Message-ID: <20181124090141.GA10626@avx2> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: netdev@vger.kernel.org To: davem@davemloft.net Return-path: Received: from mail-wm1-f50.google.com ([209.85.128.50]:36139 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725961AbeKXTtj (ORCPT ); Sat, 24 Nov 2018 14:49:39 -0500 Received: by mail-wm1-f50.google.com with SMTP id s11so13845202wmh.1 for ; Sat, 24 Nov 2018 01:01:44 -0800 (PST) Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Return code should be formally "netdev_tx_t". Signed-off-by: Alexey Dobriyan --- 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)