From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH] xen-netback: fix xenvif_start_xmit()'s return type Date: Tue, 24 Apr 2018 14:20:23 +0100 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" Cc: , Wei Liu , Paul Durrant , , To: Luc Van Oostenryck Return-path: Content-Disposition: inline In-Reply-To: <20180424131812.5014-1-luc.vanoostenryck@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.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