Received: by 10.192.165.148 with SMTP id m20csp850617imm; Wed, 25 Apr 2018 08:37:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/0kGCc2L92Bv2iYJlVlZgTB/qt/KtA1GfsML167H78EqemcYq6cMdIp0cuK8BeZPX5Dgpg X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr25309428plb.297.1524670621076; Wed, 25 Apr 2018 08:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524670621; cv=none; d=google.com; s=arc-20160816; b=IZFQU78YXDaV/fXX4jqIlG9sfOnP5Ki3y7I93NH85omg2/W7xevcn7R408uUG9h3d9 4c4PKz9qsERo3vQErK5HaNvvqCtAhLhYrmGD2x61K4BuiwK0SGCIJlSaPvI/kVnCZQXC ZIqGBnPm3It4N8gvx8H9UleDwkjAodsJphydaCGlKAK9tT+I4zkHqAd1h8hT2LWh2Jqz D+hPuR+KGvLZf2gVRFuYGB7Q8gnOh8EQ7xBELG2xyARwvekt2kECsKtrmcTo5LsKmI4E IlS2Ns9hPyQxJaI4O18zplg/11s2dw/fR1zWuoDYfA8ZGIRGwAMAxcuOkVBp894jKLjQ LtgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=R7UVe47g2DLAf/YIjI2Wxsz19AhBzWq9NjW6ovaIrz4=; b=qYo+/KfhO7jlOSIl4FvWv/sqP9y6CQMuCVnwuJsIZO3HOr9qB36md257wIY2hE4YKS HlwVXKs889NxN7T6EhUM49Bjyt49UNs14a6hbA9+sr464qv2m+mcshYEUD+fF8GsaTxW KQ/44yIf6yzFgvMmrmJH4RsGv1vuNm3QPRIZnCWJBjSb4QQvbNX/vdv02ekVdxZuZ/VD XLmXCnz3P1muQp4sj0VY6VYvpou5hxajaKuqvG0wjMu8kqsl1M2WlYKU05Z2n3FygCgQ 5PpZY7cziij51pz7lqArx/OPTrSUsJTUgEZgMUOs+1PoRnnm5vOE6WxX6Rs8RyLieZly bh8A== ARC-Authentication-Results: i=1; mx.google.com; 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 s1si13637952pgb.281.2018.04.25.08.36.46; Wed, 25 Apr 2018 08:37:01 -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; 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 S1754990AbeDYPf2 (ORCPT + 99 others); Wed, 25 Apr 2018 11:35:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:42266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754613AbeDYPf0 (ORCPT ); Wed, 25 Apr 2018 11:35:26 -0400 Received: from localhost (unknown [5.29.173.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0568121717; Wed, 25 Apr 2018 15:35:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0568121717 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=leon@kernel.org Date: Wed, 25 Apr 2018 18:35:22 +0300 From: Leon Romanovsky To: Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, Faisal Latif , Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org Subject: Re: [PATCH] IB/nes: fix nes_netdev_start_xmit()'s return type Message-ID: <20180425153522.GL24820@mtr-leonro.local> References: <20180424131545.2810-1-luc.vanoostenryck@gmail.com> <20180424173612.GI24820@mtr-leonro.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MPkR1dXiUZqK+927" Content-Disposition: inline In-Reply-To: <20180424173612.GI24820@mtr-leonro.local> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MPkR1dXiUZqK+927 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 24, 2018 at 08:36:12PM +0300, Leon Romanovsky wrote: > On Tue, Apr 24, 2018 at 03:15:45PM +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 > > --- > > drivers/infiniband/hw/nes/nes_nic.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > ipoib_start_xmit() needs the same fix. > Thanks, Reviewed-by: Leon Romanovsky --MPkR1dXiUZqK+927 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlrgoDoACgkQ5GN7iDZy WKetBxAAlws39az3yZgdMtP6DT9RMB7gte8ad7BJCpuLMg0UpK/J7PNUjVkiR5PY XLm75R2BYqcjDEUXdLjFG4oFTMU1h/5URxE6R1IV9Szc/QpIrDJs+N2irqbaWAp/ X0sIbkb5rl0sxwjZonbzfGBhfTJ1Bc56d8TrwVOC9eMRGVaGW8EmkRiWVxwt60TO uzops44nLEf0fkkw6LP35AyMG3JXJl7dg2IuW1oSnnUuaAiRkOagR94P9hhmevpi /20d/Jc7JywyjszTBXOATL5rCKkmRtQ4Mo24NZyjdbTQWswmwVvLHfGgybDAzbg8 +hHC8FbfE8ASxI00lk/cKrd9zganheYvDf57eoPF401GeKEXSxwtgNMlxg+mhQ08 RlXiI/bRAniB5HcJpHe+xchE/HoIAX+fLxOzadYpX8LC5lZbJFn+lkCj7y1HwLe+ XRxutACMBOZqcujTNjFCtXiUU+pfDM3le9okcuXgqZTUmo4oUewb7KL9F4qqbCPk 5MFVg9iHgyNWFV60Rqxar3ggWhcRESKsZRUglH7ovxjprIHRdAXDJiY+IngVoxf+ 4QWceuc/S7jglveIeJa866AFpbnE7TlsI6VMLRCeIbv9oAISD3U+EVOIVXHnZcfT 4LLVQo4FCsUbIcc5Xy2Y5hqjwRYLy+mD2gbmhtCVH4DsR++hqZQ= =E8Jf -----END PGP SIGNATURE----- --MPkR1dXiUZqK+927--