From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752935AbeD3JRW (ORCPT ); Mon, 30 Apr 2018 05:17:22 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:37723 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751511AbeD3JRU (ORCPT ); Mon, 30 Apr 2018 05:17:20 -0400 X-Google-Smtp-Source: AB8JxZqRA0ni96sKcLvrYqOiOuat4FeuQj8QqG97tB3LXUOMGrpPz6Dm5S6FCReUutZK0Ap9LN5UTFv+AaAgPspAVXs= MIME-Version: 1.0 In-Reply-To: <20180424131642.3806-1-luc.vanoostenryck@gmail.com> References: <20180424131642.3806-1-luc.vanoostenryck@gmail.com> From: Linus Walleij Date: Mon, 30 Apr 2018 11:17:19 +0200 Message-ID: Subject: Re: [PATCH] net: gemini: fix gmac_start_xmit()'s return type To: Luc Van Oostenryck Cc: "linux-kernel@vger.kernel.org" , Hans Ulli Kroll , Linux ARM , netdev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 3:16 PM, 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: Linus Walleij Thanks for fixing this! Linus Walleij