Received: by 10.192.165.148 with SMTP id m20csp4652659imm; Tue, 24 Apr 2018 06:23:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Utcgu6Z1L33QcGt5Epa4i65jIeQ/iDtrXRf7x6sghy4Dj1JYCwOx4buzAHLrFQBCeDopg X-Received: by 2002:a17:902:f83:: with SMTP id 3-v6mr24847545plz.336.1524576202507; Tue, 24 Apr 2018 06:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576202; cv=none; d=google.com; s=arc-20160816; b=vCEQ+Osm6vX0bZAIDwuC/SFPZtemXciu4wJqXh/GDTMMP+zaehOq1acVdCZtsLGKXr XtfBOCBaVQMSnwRq9J30tINpvK/QaKRuyL95EQFIPRvOH9THYLPj2q4IOFgyQATa+oRz +Lcg6cYjc8HkgZmwRf4HEFKAh+IdqK9cVOBavmLNd2crX3onfq8KnBFuJo7fZz/TlRmf t7mw6YyBPN3PMWtZDSEGRX8pcIPX2Tg6HVTlixo90DxCQ9Uu6X4tvWvjhCgavQhJa1D/ ychMiGVF4KfBlAE/eHmKZWRfhIPpYXTks7dtngiN4cooSz2RWgEc1u6S6TOJXGzqMOMZ 2amw== 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:arc-authentication-results; bh=u+i7uChU9RYrUWdvtFBTS0RbqAnHyQ1flxx8gbaHPts=; b=gj5Up276WGEWzgUM8dO4+dhPSBgO6YWq0xNsbnLVE6QTxCfl4kdiny/Bc5nkXoFIFJ lnv6u1y9sxsTW1o55pGkf8q5EjRCGdgPQUFK4qD/ExoopCnUCaxEZx2kt6/I2lOGSGNf VonY7+FIcRpunkYbpWo+X7SIdoXl4//IbFVI4sPQqo/gvVyZVQa+NZEft9aMc2elH+Vs MubOEeXBanAzRpn/y2T5pN2b63sPqo7QwxUoL7VXk6sF5D271McNFGA5UUL6yWQIp/+n eHZouc3ZP8Y7Nw5/6tkKwJbwhbF05XeWi22IQLL9QFaDbgAYzIONRUSoKtTHCgjDAOCa 4L4Q== 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 g12-v6si14164777plt.304.2018.04.24.06.23.08; Tue, 24 Apr 2018 06:23:22 -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 S1758135AbeDXNU3 (ORCPT + 99 others); Tue, 24 Apr 2018 09:20:29 -0400 Received: from smtp03.citrix.com ([162.221.156.55]:45808 "EHLO SMTP03.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758090AbeDXNUZ (ORCPT ); Tue, 24 Apr 2018 09:20:25 -0400 X-IronPort-AV: E=Sophos;i="5.49,323,1520899200"; d="scan'208";a="52568284" Date: Tue, 24 Apr 2018 14:20:23 +0100 From: Wei Liu To: Luc Van Oostenryck CC: , Wei Liu , Paul Durrant , , Subject: Re: [PATCH] xen-netback: fix xenvif_start_xmit()'s return type Message-ID: <20180424132023.pwncbjdzgqcpp7w6@citrix.com> References: <20180424131812.5014-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180424131812.5014-1-luc.vanoostenryck@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 03:18:12PM +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: Wei Liu