Received: by 10.192.165.148 with SMTP id m20csp4925623imm; Tue, 24 Apr 2018 10:37:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/zvAmHlZVLyviXuhXMhMls2tFCG/CylHnUUo/WyTf2Q4x39drjdtUm5SxpstUsj7F2Djwu X-Received: by 10.98.8.133 with SMTP id 5mr25049891pfi.154.1524591474074; Tue, 24 Apr 2018 10:37:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524591474; cv=none; d=google.com; s=arc-20160816; b=hc7Qci8ypZGSvhpZxxIHrhO1889L49w1Vi+I/ScfhiD3Wfo+JxnAmvOypKX929qhd1 /JGfqzY4ZhiffypNgpSSoL7VhBeBZNqtLDm2C1u+f9i0NyADprI9rG+J2Cr9xrMuV+DL ZjZi4Y3ioskjsT5WrX24zicwVtqNjkuBfcWOt0pnKvYr+mvmxV4vhempRgRjkD7+QdtH VVSWvp18gJo01iLrZWo1ZQzHP3tyddekzuOJyBIoZnqWDLofmFPtGIzJwea68sszqpKZ 0OPweStl/Tv6ss77ugylRVXq03Ax/Tm9bU8+cCh4p6Te+/pibuXc7EUMxsoCajqy7G7L hz6Q== 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=A4Ss3lS3bnKyPYffYVWCyPY1FfxCggQwMum0w5Y2Ze0=; b=y1OSXHaZNbIfocF74YCBn2CzxB3bQJpFmPAmo58T8EtEEyA8Dcl3mtT+gOJV7sPvgF ZKBKqjbo6KnIfVIIochhsv745RA1BjykUgdyv4F7HxJOXAe2K4CZFVm5h1EcRrtGb9Rr FFRvlCvKQWD9XYkgjHZn+0PiMAg+XjVNlkfPffDl6jgDvI4YhXmYeISRg5nVt/B6I1i+ GL/J9YB50jpEs3nI9fVeZofIv0yrHMZ0noS1ZA7jszl5V5O3vYSGItTkd65fHiaNRxYd Itxil+1u+pjaPxfTnKabYhA+tf3XxgPNzRtX649oap7ekaeFV4DSChfJPbwIZfs7vKOc 0dYw== 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 o6si12225141pgs.51.2018.04.24.10.37.39; Tue, 24 Apr 2018 10:37:54 -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 S1752895AbeDXRgT (ORCPT + 99 others); Tue, 24 Apr 2018 13:36:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:60038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbeDXRgP (ORCPT ); Tue, 24 Apr 2018 13:36:15 -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 0CE3E21735; Tue, 24 Apr 2018 17:36:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CE3E21735 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: Tue, 24 Apr 2018 20:36:12 +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: <20180424173612.GI24820@mtr-leonro.local> References: <20180424131545.2810-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f5QefDQHtn8hx44O" Content-Disposition: inline In-Reply-To: <20180424131545.2810-1-luc.vanoostenryck@gmail.com> 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 --f5QefDQHtn8hx44O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --f5QefDQHtn8hx44O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlrfawsACgkQ5GN7iDZy WKfbUhAAhOvypJ95u/rDjVkRH752kVdNPdDMojU0DjVznGZe5U1tzvAriR5FPSq1 s5O5dCoC9Z4E4Q1/jiG6z1QTX5V9faxdB/F6StUhPjD8dznYplIxWrFv+YqZOyzo YzMYrQgv+i4Rw8+39BWKVchW8uLz5PxtlOjtzB0JFBLy1BcMG6X1D5r4faI567Qc moB3aeP4wqFXKX6sI7HfPjjWlyzXrkUQG1s9Yzl5fspQCRnpR6ZcF7UMT7FEqvHp OChr6Mo/b/LanjYacKgz/oQ2IR7WQe73xRrszHizI0f1nNnJ9GcEsMb/+AHZ3VDO t107BCDJ5r2GXfTv7OrivKe0GlO7rITFFbfGO/+0TT1Rflg2Xq66g4lBfb2N7dNP u2R6ti9lDXYy5VdSyeQdkzpdb8L2QKkqLyxK+hFX9S/JH8FAAQYJxeePw710PqgA /NVo58pcnx1fIVycLuZ4wV1CPOgofn9p3LsLZRl05cGkQu42dU6ScS897WoYuUju Zv4k90ezHaNX1jsQZhTLB6jzqXDMuFmHpI9TsxsUN/0/P1g5dkxdWGv8YH6kq8ed w5xMGaDSGHEniuW06LC41wtcgjXH80J5P9zaWJZYHfP2CF+LPI0AWVXRo8UUaaYI F+hclUwuTHDFkSzhv+tKR4PO1h7Lv6mcXoI1ZfeU8P7a67fmU9k= =2qAd -----END PGP SIGNATURE----- --f5QefDQHtn8hx44O--