Received: by 10.192.165.148 with SMTP id m20csp4738030imm; Tue, 24 Apr 2018 07:39:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/axs6Gx1i62JLATDrg5KYX9Qy32zEXn+AixUps0pDcyVcIUwzPXj22Y+9vBoCTMIlngmAq X-Received: by 10.99.7.86 with SMTP id 83mr5223051pgh.211.1524580785798; Tue, 24 Apr 2018 07:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524580785; cv=none; d=google.com; s=arc-20160816; b=gECZljnE0cSwqwB8PELulvE+hEfLulqsT/lxGL3CVi/yGN7PDA9Kapu7KdIJZgZQ4b Lt1RfWM3WxJheVoFKc6Y6aVq6H2hHeASJj6uWU9srODBr0b7w74omBK8b0/pKo7/eVuy ftoUKaWSsMrhY19JEjKT7aFbsphUzVeSIBCILZtPYoCSQMSX2F1bRyr1jeI7PZSQjzcX Ib4TuGHJvMAow8K0DL48+5cLm8InB04KacE7R+PvUNX1IMPxzTqVsOYqwE2qu+I2kf2Z 89t8CD3LvumnFPN1Q4HWWEIwEbZXoNDpamnoKHkzlWFG/RqBgpJylOREb14yjytXAfLN 0Ybg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=C4BCamhOlXCsQ3HjdFwuzi1ooE6LyAdN3mUWX16LnLs=; b=EH5aDZ49xZPyFLV6NshShd4m/HMdj45U6BewpaXo91J8Y/IqHpGhCUHzjGAqdtZOzj +fej3htAXpNGMKnTVC5QNC5/Q4Vf9whGZOHXvqu1KSyg/MBNEAP5fZn9da5FgPOEfvNx 4tdBu1wVDZuT4bmxUsbE17Nm2csCr6v+q5ZD7FTJOLSwg/Zi2k6VN0jSuoA0mBPGY9Z+ JmKA+NmbQG5GaJNpntuSHnWO9vSgJbi4iFtu/wcbr8/S+9MvMKMsQSqX8DYJLE8Otswj YWZadXkiT1rxVQ2new2ildSo2xpdvT6V2z4Vlefe6YfH1E6bTcOwhDPp3gJ9UMB4esDu 47pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P+6GtWeu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s66si12018060pfj.164.2018.04.24.07.39.31; Tue, 24 Apr 2018 07:39:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P+6GtWeu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934368AbeDXNwz (ORCPT + 99 others); Tue, 24 Apr 2018 09:52:55 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39341 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933580AbeDXNP7 (ORCPT ); Tue, 24 Apr 2018 09:15:59 -0400 Received: by mail-wm0-f68.google.com with SMTP id b21so799002wme.4 for ; Tue, 24 Apr 2018 06:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=C4BCamhOlXCsQ3HjdFwuzi1ooE6LyAdN3mUWX16LnLs=; b=P+6GtWeu7Bo0JUqoZpm70IsysUsgTRBRAXv0X+qOJGQdkNSqMaMk2Id4Q58+apwOq7 g1eO78zE975+Ms2WlQAVeQ48XGbP4bLsUR04UfNaEbRQZBeZW4uwCSGfFNf9hdvDtp1X dMekY5wGJwgrEK8XQugyu8qBRG5FRs9IlKn5bGmqtPQ/yLlzJeUWGHd/TKslfmaY5DwU lA8/XNSZxkVKqO6E4tXgtL0Zm9cYjXg2WPWsqoaVit4sKGOhbMaBPjlrKH3ocFOSpYVX uPPPriOR1GkOixffC8JrGzNA6usOQ2w7aWfwxXxVCt/dgR3JImzUYdk6PPPPkS3E8ZQu TRZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=C4BCamhOlXCsQ3HjdFwuzi1ooE6LyAdN3mUWX16LnLs=; b=KNttLlBEOsMhzjSFyQo+cC+DcJJ+Lz3z0h5Np6ZbzAuD1CeoKkX8wHL7ktcGvvaDaR vwfFkuS76Gm+4zXC+UGDPfJUqEnVjmZjXpppJQwr3Sw0TBNUGc9qhSxCIVVDlKLP9gbN NOQuoXpQuf92MzUfYeLMMO3356xmKrC63R/gkocsc/pRmQeVPpQNkNd5DE/ZlLl0MjpN KuI2B6fTYoeUi8CPsFxFoWbOXwvsfKfI5iHJsSvKqiGYzq3Tvo+RBN4rWv4HYoppgWUW mcWdyWk6les/pzJg/KTG/4jBUtrttLgyXq2kHamDClJCey6jk3GNV1GQCpU7+wwFKXuU +hjw== X-Gm-Message-State: ALQs6tDtQpO28Ww665284tV+NCMHwPw2+dX0GN6Htu53R1BIQyG/wk8F rfBw3fAddUC3ZE5LBcNVUma5E7OiYaY= X-Received: by 10.80.151.163 with SMTP id e32mr33296965edb.58.1524575757476; Tue, 24 Apr 2018 06:15:57 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id x16sm9327800edd.52.2018.04.24.06.15.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:15:57 -0700 (PDT) From: Luc Van Oostenryck To: linux-kernel@vger.kernel.org Cc: Luc Van Oostenryck , Cliff Whickman , Robin Holt , Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH] sgi-xp: fix xpnet_dev_hard_start_xmit()'s return type Date: Tue, 24 Apr 2018 15:15:56 +0200 Message-Id: <20180424131556.2961-1-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/misc/sgi-xp/xpnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sgi-xp/xpnet.c b/drivers/misc/sgi-xp/xpnet.c index 0c26eaf5f..216d5c756 100644 --- a/drivers/misc/sgi-xp/xpnet.c +++ b/drivers/misc/sgi-xp/xpnet.c @@ -407,7 +407,7 @@ xpnet_send(struct sk_buff *skb, struct xpnet_pending_msg *queued_msg, * destination partid. If the destination partid octets are 0xffff, * this packet is to be broadcast to all connected partitions. */ -static int +static netdev_tx_t xpnet_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) { struct xpnet_pending_msg *queued_msg; -- 2.17.0