Received: by 10.192.165.148 with SMTP id m20csp1016856imm; Fri, 27 Apr 2018 11:10:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp2JExU+4XG6WpvqBCy+D1+251dyVnWrhqHEtR6bPfyLD6A481YRReP1JXxHcznnu3g510k X-Received: by 2002:a17:902:67c2:: with SMTP id g2-v6mr3181111pln.93.1524852616533; Fri, 27 Apr 2018 11:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524852616; cv=none; d=google.com; s=arc-20160816; b=qni/ioyUQnDX2POimQgUFHTBYuzpXIM8v7Xot9nAMgPUtslAwwDJ2NjLcR+qi7cxwA ZZ5SOt6306Sfma5BpxgU+thqugTXe4XqnhHDXbozGeWlslsTN+an60aNXioP6TRrq1z9 YI71Li8os89H7Fa43pQ17pPT/eeAJHk3n7J8Bf8VO9ncYISbXoOf0SdLq+9aiiMZP5YW PmZWZgS7cwaKKIfBXhn9QcN2JqMUr/GvuIfXrAP2IelCcghTztKktzPGJjiC3E+5kATl P7FS4CmYXj/w+RPMGoIFq7Qzle/TgVSwGLaKtpIQrEPLgltAGl29KRTBj/7aTIvpLt7k H22Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=vo0f91FxGPTVh0X7jwUM3ffPALOqodG1OBQDz33m49g=; b=A9Kw0P+WY6AsF1wNaIItIafaf63gdrxC3Jp0GfKEHXPx5jC3ESbiF5tSThBUwqmPDb Z2fN1cxLzcrWScdZtTrodn44VrLKTSPW5YK6Uqdn5ucHVX2i5YQ3nyjjYGFkiMEna3zx MhsaFKW5Qqsko4fM8YnLUrHWvBjRUK1aHZ9hgZWGAeu3b9FftDJViujJDYbIPHmzpkyO /GlAZHwa+OR+SghzFNFz5Xe4cqbP7WLN3gfvhsODml2GWycRqv6TBR3pDkjWzeDcZhtK 9ye98YtCEVIJlfrDvWi3nRY7llETaO4zXtTvLI1MrgCMCigt6HeI+n2/JFygsB1Uh3U5 211g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a64-v6si1692398pla.530.2018.04.27.11.10.02; Fri, 27 Apr 2018 11:10:16 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757832AbeD0SIO (ORCPT + 99 others); Fri, 27 Apr 2018 14:08:14 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:53730 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757751AbeD0SIN (ORCPT ); Fri, 27 Apr 2018 14:08:13 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9BBE710D420; Fri, 27 Apr 2018 18:08:12 +0000 (UTC) Received: from haswell-e.nc.xsintricity.com (ovpn-122-18.rdu2.redhat.com [10.10.122.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 521DD215CDCB; Fri, 27 Apr 2018 18:08:12 +0000 (UTC) Message-ID: <1524852491.11756.68.camel@redhat.com> Subject: Re: [PATCH] IB/nes: fix nes_netdev_start_xmit()'s return type From: Doug Ledford To: Leon Romanovsky , Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, Faisal Latif , Jason Gunthorpe , linux-rdma@vger.kernel.org Date: Fri, 27 Apr 2018 14:08:11 -0400 In-Reply-To: <20180425153522.GL24820@mtr-leonro.local> References: <20180424131545.2810-1-luc.vanoostenryck@gmail.com> <20180424173612.GI24820@mtr-leonro.local> <20180425153522.GL24820@mtr-leonro.local> Organization: Red Hat, Inc. Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-C+E98sWZbhnglmtvGCLE" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 27 Apr 2018 18:08:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 27 Apr 2018 18:08:12 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dledford@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-C+E98sWZbhnglmtvGCLE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2018-04-25 at 18:35 +0300, Leon Romanovsky wrote: > 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'. > > >=20 > > > Fix this by returning 'netdev_tx_t' in this driver too. > > >=20 > > > Signed-off-by: Luc Van Oostenryck > > > --- > > > drivers/infiniband/hw/nes/nes_nic.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > ipoib_start_xmit() needs the same fix. > >=20 >=20 > Thanks, > Reviewed-by: Leon Romanovsky Thanks, applied to for-rc. --=20 Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint =3D AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD --=-C+E98sWZbhnglmtvGCLE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAlrjZwwACgkQuCajMw5X L91PaA//QRzgyMQZmRUR250fRRn87mDrMJePLp+dDb/mFyiUGqhWgUnMcbo7YTQK bl0bmjT5tAO/pduZo9U+hV9bc2MvHFvjGnFFOSt462wVZGSIxzWyuwJSd0Of+X3z KJt58LiyAJZ3FZz3QeOFv+5wNeVWzIZE6tZ11SqORcmP9HXxYUABmmtJQj286HWu RuacG7rXuZnuDgTsz37iTP+E2WRYc9IMBpTIhBws7s/Gq172+KJYSHldpWvmKvW/ UgQb7Jv7ukXf7YZODqUnTbn5MXxb23CdpiH7zAXeDRKcDNMV5BJkMkw2NuKHPt+i 4sy82ucl+PbXBmW/+4HM6gKT8huqes7JP59k/OofY0BxfHZ9+C5lAc3L08KvSTg9 beW13A/Fa1etnX5JfGeWhQXdG9CBEa+HCgujvrnyxIWtKXjjOCwmAnFxA2OyhBfx al7r3OYp8IA5AY7VlN8idDSJo5//TspGLw3W1V0FybXXD/GvU4bIuVoVHr3I4qfm IUUxpTOvdr5Cg4doWbLZ+253gV8mOtw192//OLjnJ2n7oW0meB0ZPHzxSdSLOjdb INtCxihupTaB33Smf3s7tiMUWHKLg91MamUMnp8hZKqLjny6a1b9IHQFVI9dVH7p IJ9nqm4To4riOHW6yib2kqeMDP8iTnwFOL4uqEPDRuse9u+ap4U= =tvA6 -----END PGP SIGNATURE----- --=-C+E98sWZbhnglmtvGCLE--