Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:33986 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbeD3K2z (ORCPT ); Mon, 30 Apr 2018 06:28:55 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: qtnfmac: fix qtnf_netdev_hard_start_xmit()'s return type From: Kalle Valo In-Reply-To: <20180424131810.4963-1-luc.vanoostenryck@gmail.com> References: <20180424131810.4963-1-luc.vanoostenryck@gmail.com> To: Luc Van Oostenryck 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 Message-Id: <20180430102854.CA14360558@smtp.codeaurora.org> (sfid-20180430_122914_879781_DC38CCC2) Date: Mon, 30 Apr 2018 10:28:54 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: 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