Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2054057imm; Thu, 20 Sep 2018 07:07:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbCqtfb+JPBpXL9rKbXtOx4akVLgmjLMLHKstQWGalpTWdvjuUfSMBin6SghqWYo6B9wtpy X-Received: by 2002:a63:6385:: with SMTP id x127-v6mr37579478pgb.413.1537452473075; Thu, 20 Sep 2018 07:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537452473; cv=none; d=google.com; s=arc-20160816; b=EmxKZpDiiKF+5/8Q1otaQ1JJePemxp8xP1bdx4S1MD86GMa4bF2E2OrCTwzGunkmPl ngHAcjlrZoVYQAF0ZQIXYMlspvm3xx0xPX0GfBB4n0E1+qTZXkWiOcbsAJ1vC17J10sV Pi1igLwRfdRvQV+44HTvHgwgTnemv4oZtN998nMziS+ZNoIF9e15e9sgn2NZIBWC5BOZ 0UP+JfD0/ibPkbVGc0j8Hg83aIN1BYULhS5k/Nbb/bs5du1iFpy1VkpiEYbsYYzOkltK nC3SaHY1ygggOdrps01gynuK6hZHl2lCvrswE4wMeG4z/h+cSSAKW5xpXHA6ipmZPz5Z 83sw== 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; bh=NCATJkoiaFLaVTODsIO+hmqaHSiMnXM9pMvGjD1Z/tk=; b=Pgy7m1fHOqeHYO7s5XR7sR7QlxVtBGxCVpd9jASeFusY4zNJ9KxXVCOXkemD0UOJ75 Qca4+XQwwOsIyK4iY/0ZszwjuN+q055ao42sJamk3CLUdOEu2/zBo5x3oIn3IOqJBCth G9MDYEDqxwvT938DZwKwRoaKQPGgybatkGLzC46na0jGrRrZb4+PWdEj15toQEbwetZZ iANVOASS8iRIkmSLBzEMaHFQEICqtLdHpLmv4UI0XZzSOhhUuecZtvoTe1i6hQxohwbA KdbA6xV+2Q4/9gs8YMV7LMwEoR8pRDS8agZW+JYFxK2sFr5bbyn3EW+BgRkFtXGvkHsa HYjQ== 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 i191-v6si2364175pge.391.2018.09.20.07.07.29; Thu, 20 Sep 2018 07:07:53 -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 S1732980AbeITTuv (ORCPT + 99 others); Thu, 20 Sep 2018 15:50:51 -0400 Received: from smtp03.citrix.com ([162.221.156.55]:8736 "EHLO SMTP03.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731416AbeITTuu (ORCPT ); Thu, 20 Sep 2018 15:50:50 -0400 X-IronPort-AV: E=Sophos;i="5.53,398,1531785600"; d="scan'208";a="65816507" Date: Thu, 20 Sep 2018 15:05:49 +0100 From: Wei Liu To: YueHaibing CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH net-next 13/22] net: xen-netback: fix return type of ndo_start_xmit function Message-ID: <20180920140549.xdowevpqjw45otjx@zion.uk.xensource.com> References: <20180920123306.14772-1-yuehaibing@huawei.com> <20180920123306.14772-14-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180920123306.14772-14-yuehaibing@huawei.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 Thu, Sep 20, 2018 at 08:32:57PM +0800, YueHaibing wrote: > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > which is a typedef for an enum type, so make sure the implementation in > this driver has returns 'netdev_tx_t' value, and change the function > return type to netdev_tx_t. > > Found by coccinelle. > > Signed-off-by: YueHaibing Acked-by: Wei Liu