Received: by 10.192.165.148 with SMTP id m20csp851005imm; Wed, 25 Apr 2018 08:37:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+woSCasjuz698mojrkJFxKKxs7mEEzFO88uICWu/jyi/EHjQhEhQbICs2z+yEpZQwTeg9+ X-Received: by 10.98.246.25 with SMTP id x25mr28377116pfh.138.1524670641742; Wed, 25 Apr 2018 08:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524670641; cv=none; d=google.com; s=arc-20160816; b=nTfBCecNR6PKOM//nWtFMoo/B+s7uLtKVCsu8cT8+uUKhkQO1hFj4HkLBt0SncL37Q ZAxGsGclUbKqJN2UpnC/gvTb4GZZcCyKFJa7yxE9uSENukXrFubvZuW2B+pcOnnhtpgU 6dAU2OfX4+9Z7I52s/juAAdLPNBYul21p/sGbvzlxm9ZgQj3y3AopsNGlvMn9zuD4yme 7GZOXZQYr/4+cHO5WiVnxoBn/CVRjLBUFR28cV7mpYYPohfeiNt3OUqTA3gBcuPHm949 GPDtx5ovuJeUur7xoc7gPSlZyyeBer+48c3O8V/MBaprNXuwE8pRfHQ25eGH3xwuPFy5 30Vw== 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=gTjVRpsCZdHRzXiWYRVZhoyY1hlL1XaV1WTliLReLSg=; b=Oq59A7K5zzZnm4SKmbxW5W2hyuxHUCsDxtnqi5Yx0yj8hJiuiSq3yAOg7guiQHS5N1 m71AGs5rEHDZ7Z2GfiXvZnHjKliH6QAwaO1JsVttyDz+eRXNYEIQ11aYS/exx0OoIF4o 6ze4B3aexRO5VuzuJuplM8bmQZ2K0b1NwgQFKGNebxpW8lJ+8GCh6xn6wYpBQZBn+3ay ZG9Gtbfs8riBEYfZ6DnEtx4fWn7P822oBKco3cFl31816LDTrm9v2lGxFgx+zGvLibaW MrwgjtXBGEXD+JGXsvXJZlwhSb4ZGApbcNKzRBgwMhoM/P0kgP2zj4Wt33kXK+6nxjzS ZFNw== 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 i12si8752997pgp.119.2018.04.25.08.37.07; Wed, 25 Apr 2018 08:37:21 -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 S1755180AbeDYPfo (ORCPT + 99 others); Wed, 25 Apr 2018 11:35:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:42334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755107AbeDYPfl (ORCPT ); Wed, 25 Apr 2018 11:35:41 -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 4A5D021717; Wed, 25 Apr 2018 15:35:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A5D021717 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:32 +0300 From: Leon Romanovsky To: Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, Doug Ledford , Jason Gunthorpe , Alex Vesker , Yuval Shaia , Erez Shitrit , Dasaratharaman Chandramouli , Feras Daoud , linux-rdma@vger.kernel.org Subject: Re: [PATCH] IB/ipoib: fix ipoib_start_xmit()'s return type Message-ID: <20180425153532.GM24820@mtr-leonro.local> References: <20180424131549.2859-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mFHiwr52TKrxpkjc" Content-Disposition: inline In-Reply-To: <20180424131549.2859-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 --mFHiwr52TKrxpkjc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 24, 2018 at 03:15:47PM +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/ulp/ipoib/ipoib_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, Reviewed-by: Leon Romanovsky --mFHiwr52TKrxpkjc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlrgoEQACgkQ5GN7iDZy WKfggg/8DGJIl7K00Hfuds0eJ/eySzKl4A/0UJYwtFnLB+DugSnjk2grpmgpZXQi HJO/j/OARdVe1FfLQqxXqel1ALn8lnT1f5h5jzSySiDlJmtxMvCwKCkZuKnQEf8e 8xJ+xF6IaeWPUo54AB2nNgj9TedVgqfwoXUIj8hGER+YSaty7IyUswJpqdURIMON q9Pv+FY82Ila2hQDb8/ZVwlHGr7PRvofcCLbP9q+R5XzPZx/WxPPaxhtuifjLTeO a2x5NpVp80wOf3FxMC0BimL+pWJU9NPJPubU1Lk1peFsOSHMnwGGXYzm3/uqBobQ fv0Dh93W0twseGA+tpi/xVQXHoejtp/4pcRmOaIA9MWcrmTMnOcXbiYAzEc97b2k ++lJW/qRixhCfink3+PTjmCQLPFJzDYYJ/BgknEHf1irNy0gmZgzmnvDA43cMWhc CWjCsuwgitTSV6++9V3rL9APGL3JINVf24ZSrM8eMLLKWJzuHqUfdYDf4ifxTaus PqTa45iGv4IuaTXJy2HSSKZHpa4GAg5TctauOzIAZONIkba08xdv0Hkui6wsyblz cP6GsMyZnyCf9iMrR9dzBbQXAocYoN1wUEuaKoIUiD+kPIHoh7t5bIxWUqj/O/yk LjaiC6aDVKQKqqhHqsKvjCG7MUnTDLMxlyv+u0F+TgNU73simIA= =f+da -----END PGP SIGNATURE----- --mFHiwr52TKrxpkjc--