Received: by 10.192.165.148 with SMTP id m20csp4958335imm; Tue, 24 Apr 2018 11:11:02 -0700 (PDT) X-Google-Smtp-Source: AIpwx48nKymejEs3Tf82Gle8pTxL4ingDAqrQ8nSaoqjn2Z60jYAt6WMLIkzEARbpvxrY6CUBARu X-Received: by 10.99.181.30 with SMTP id y30mr19075651pge.279.1524593462280; Tue, 24 Apr 2018 11:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524593462; cv=none; d=google.com; s=arc-20160816; b=wJRH+kcrMdB4m4Fwpu8dvQ0XEH7b+SqAJeHko/f6/dLQskCz8ezCbOsqOemGIDQ49n VqaNVauhIjpzXQL5hygjogT5TAs8qsIb+vASqCl6bPoClGlMRth+35nhA685bpQZ/X67 Rj9e8Qob+ZjgdVd/zWb1NEB+doPusDR1SLjtRP62TI1GDJTbwpEvNA79w8eiHGMduKvM 2doNTzsYSRKO7QSSVb1HNCLTMpfu16PK7TZPCjqLAypH24zR/2abtEL3KZM3VygzJSem lXfwNHt0m6RLdUvZvCkJA93gUQB5ewlWIojiA3WNvdlbYYnmWWopFiq11UdOVG5TsBDi Nt6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:arc-authentication-results; bh=f2eVHuEvCn/MlpL6bzYisk4HOTIG0yg5bh0sN4HpyhU=; b=tfnKHw8PMGVJ7e6liYqpjqPwBzm/tktyIckeub5buKz4AfoWAiVKEiWhEOGUqlHqNS B3crw6qiYSZgz2yiTdyYF5B8t7ep7Nn+2NNLKy056gQsZ4A9uNOAu+VQYyMOX6rlCRO+ hBIyt68TgERPbGpQFVAprJQrBt00NrYKqkazJrj/qI/YmWZFefgybCbpTg6AoiJaqGc/ DUyHiatcWyDiDY2zJ46H2lhgWxVDoVuPdmf01MXnTsqtUooH3jnL6atC7Rfn5A1KcLaj wbnJ781VFaEIWxnJAQ5wZfMNNgFmOH7h0O4fORqipEXDxvt6UCdzNSBjWvMcLlOAQX+b VwHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=m2F6C8bs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si447073pfj.10.2018.04.24.11.10.48; Tue, 24 Apr 2018 11:11:02 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=m2F6C8bs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbeDXSJ3 (ORCPT + 99 others); Tue, 24 Apr 2018 14:09:29 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:43113 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086AbeDXSJZ (ORCPT ); Tue, 24 Apr 2018 14:09:25 -0400 Received: by mail-qk0-f194.google.com with SMTP id h19so1199547qkj.10 for ; Tue, 24 Apr 2018 11:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=f2eVHuEvCn/MlpL6bzYisk4HOTIG0yg5bh0sN4HpyhU=; b=m2F6C8bsYNmemRci6b/1LmIf2qZ/o0VUQweBoH5SL7XNuTaHCXiTg6sWg7zH/zp9Px mtdT9kM4XXNG2URlwi9clTLTKPokVNepD7zkf5NiIrCHuqCSibYSkMEAafO3LLnPA4EM Sso4qG5xLHyJzMqUiISpYQBEm/uR3slsxFZn9hSZFqdnG5oJLXTTsWfZ7kl9EmA4SXQi Phv+M1Tsd3tr/xJyYLjYsAKKMTBsbvy1hsrwIEpyxaUGokgwEO2loRcvbXAwaiFF3oAT 9j1Ec7bx0stSTyUPHWeiiKRpjreVUC3XoPvGYvl9su2dIU83UNDubFF7YLQ6X+LuaFWz pitw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=f2eVHuEvCn/MlpL6bzYisk4HOTIG0yg5bh0sN4HpyhU=; b=Mfm5ybyk6PU02LaMOI1VMEUtsoYJe2Ug7Imm7CQMKDlzEVn80QfQQzd+RUQJ/tNbNY zqdKwX12i7q0/K5SHLVhY8qJxNSahGZjiDLXxgX5PCe90ZzBgDuHd7LKppvDhsC5ZHmd LBSRdw5VU793/sjr96d/iGzftyOEGZCOuG+G+wIPCDkYq4JUbY69tCgHJmOgWdeIVBig O5AkySK2z6ov+T7MekkAlu3t+y1YTMaTANQXRhnDwsh8p9SIA9MMlo4LKqbcVSzRbO/k mvcs7MF0Y5YPry7JKthjEF634RtXi6byC6XD+E34e9yFXi3gIPETMtrSAjH+9RUNUn2m yv+Q== X-Gm-Message-State: ALQs6tBssBwfDuZOrZJM/tOQlnl1qczLjsrAVLzqrJ5MXn/4hKvBEp/i TrfDvvt8C3yRcjcfQX80ec2W6A== X-Received: by 10.55.142.134 with SMTP id q128mr4279202qkd.76.1524593364818; Tue, 24 Apr 2018 11:09:24 -0700 (PDT) Received: from cakuba.netronome.com ([75.53.12.129]) by smtp.gmail.com with ESMTPSA id g1sm11759755qkf.6.2018.04.24.11.09.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 11:09:24 -0700 (PDT) Date: Tue, 24 Apr 2018 11:09:21 -0700 From: Jakub Kicinski To: Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Simon Horman , Daniel Borkmann , Dirk van der Merwe , Pablo =?UTF-8?B?Q2FzY8Ozbg==?= , oss-drivers@netronome.com, netdev@vger.kernel.org Subject: Re: [PATCH] net: nfp: fix nfp_net_tx()'s return type Message-ID: <20180424110921.24c3699b@cakuba.netronome.com> In-Reply-To: <20180424131710.4206-1-luc.vanoostenryck@gmail.com> References: <20180424131710.4206-1-luc.vanoostenryck@gmail.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Apr 2018 15:17:07 +0200, Luc Van Oostenryck wrote: > 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 Acked-by: Jakub Kicinski