From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: qtnfmac: fix qtnf_netdev_hard_start_xmit()'s return type Date: Mon, 30 Apr 2018 10:28:54 +0000 (UTC) Message-ID: <20180430102854.CA14360558@smtp.codeaurora.org> References: <20180424131810.4963-1-luc.vanoostenryck@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, Luc Van Oostenryck , Igor Mitsyanko , Avinash Patil , Sergey Matyukevich , Vasily Ulyanov , Kees Cook , linux-wireless@vger.kernel.org, netdev@vger.kernel.org To: Luc Van Oostenryck Return-path: In-Reply-To: <20180424131810.4963-1-luc.vanoostenryck@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 > Reviewed-by: Sergey Matyukevich Patch applied to wireless-drivers-next.git, thanks. 3ff6ee28535f qtnfmac: fix qtnf_netdev_hard_start_xmit()'s return type -- https://patchwork.kernel.org/patch/10359851/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches