Received: by 10.192.165.148 with SMTP id m20csp3559005imm; Mon, 30 Apr 2018 02:17:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqxYusEOV9MmCyXcyDWSDmDZU+PJ+YpvgxTy5/WpYuvz5WIRppsl+9iFmign7EV9aY1F6Gl X-Received: by 2002:a63:7258:: with SMTP id c24-v6mr9656327pgn.453.1525079868268; Mon, 30 Apr 2018 02:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525079868; cv=none; d=google.com; s=arc-20160816; b=JADYIZSg2ncdmtiQivfaHIxs5MLIxJ5019nMiXZ1mCPpRybDGlP7HzR31SVBmJ+qSv u3380yvqL9Oga3sFtlYvFmHuhIHEs3CkudtpWr3ntmbT9F/ksvQQufl2zzybDICjWV8j J87L1yZrrSDyS53du14/Kl5BbzrNIjub9D8hvb3AJCub3mq/PYSAnqo3NwcOrhqP2gSo PXbMv/zsm4lp44M3auN8WJ8w4MQ6LJPhTTxr3bnlTba+k33zeiQLmKxzObMYsC8lAbNZ S3BABAyAl/WmrZUMdHqJ3yG8nJfBHVFS99FQIWVukDCiyaYIlaxqfCTklMztF7GP0107 9Rvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=N8+ZWRPTQL5OmooC83vsKSgTYfaZUIh2ePrioD94lqQ=; b=V0YIMbZupwerCA39HP6JZFMj3Fw1qI4JrOUX3a27XbV3RtTYjf32mhBEDrwOBLOWkb t0i7Kn+UkbKM7Ee2pG7vYyRVRoZMadNIxxOokQ9TdkqjVezPQxuMB/+pk6FGO8UWARLf SX7L8YpR4ULRCnI1vbHp/NW2Iooy9DHL6VisjqhLgERzhM3C7cmbs4l486RMP4Hwur9G JhiOEX+L6iZxW+YUOp0ZABOA07RguQcGqoWlHHVyTgb/pqllECobBtfM+38SOkiwmnWD G70kkuESqO0SACNAwfBPZcmysl0icEfXK7GazUdtpY2YSVb5yljR93+BBpXGuIpzP/GO KaQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QEjuUnFL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17-v6si7313181plm.151.2018.04.30.02.17.33; Mon, 30 Apr 2018 02:17:48 -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; dkim=pass header.i=@linaro.org header.s=google header.b=QEjuUnFL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752894AbeD3JRW (ORCPT + 99 others); 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 Received: by mail-it0-f65.google.com with SMTP id 70-v6so2927096ity.2 for ; Mon, 30 Apr 2018 02:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=N8+ZWRPTQL5OmooC83vsKSgTYfaZUIh2ePrioD94lqQ=; b=QEjuUnFLazNIbqBSpK49HIoto5sHyAOzjbvmowG+noOCuiyc8c9zd6n7uOzCBKCQj3 Zctyig8QqeelbmGWjRnzLc4N5O5MJ4xGIxlCshP+EE/GgXgrsaIYKMH74Xen+ppujIwD ErK9zsGnVxSUHX2miSj3EmlZ0r1A/c4B+SIfY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=N8+ZWRPTQL5OmooC83vsKSgTYfaZUIh2ePrioD94lqQ=; b=SJc1g7uwj+4QcG8diRYK1eHEi7umKk7bandx1QnoVLFWeKyik1B0gbrnOzfyHYOscR u6wj/ZuYRCLeGWkO/OSKC3Lh9kmZLjZTUbI3tJPaCi78Jvo2/cZYGMm2FsEskMtGNmcf yyrcOeqw3dZLQSIHzIGPgYFxStJizRzpCm2Ikt/hu0c6ZXuqJOyDATrwdh2okoo/LaWI /nzMdWbjP84bP9K6wACVfyxKu17ztDaX65HWccCO1SUw+a+qpMnq/bdfUZMrLimpIWal XXrvj8gLDhimfcmKUCYia73lDp3Uc20NEVDqAD7XrOVqQB+rH7tlX5lSv6y1b44xq7P1 LZPA== X-Gm-Message-State: ALQs6tAxYePkfW+MysEm5DW72PxiAwLy8ij7XgIhGz0otsteAHHZwDYi hziiJDT+OF8bay+RAlfiGsrwtSMl9okjvIdIoZz7qLRv X-Received: by 2002:a24:7d0f:: with SMTP id b15-v6mr11404196itc.135.1525079840397; Mon, 30 Apr 2018 02:17:20 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:2793:0:0:0:0:0 with HTTP; Mon, 30 Apr 2018 02:17:19 -0700 (PDT) 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 Precedence: bulk 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