Received: by 10.192.165.148 with SMTP id m20csp4748485imm; Tue, 24 Apr 2018 07:50:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx48QhriJvV/fwkUMEdMGn70HiaMTfWS+erBd7Sjn2G9V6te16mh2G9NwVUDOfE7x+tggminf X-Received: by 10.99.160.106 with SMTP id u42mr19911602pgn.389.1524581429661; Tue, 24 Apr 2018 07:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524581429; cv=none; d=google.com; s=arc-20160816; b=nFb1oeZmjhShahF5wmqbcxux/tjtM+ZVmqimRjuT7Y6J+P20FZx2/s5J/g5MJ4Y9D2 rTccMA73Gba2VO93cRbNey/zxDiIarko2TsNhpeLUrDKNb63u5LLXRHYCKZo6+Hvl0z7 j88C2mDaaaqSw1iyZfJKe0PkxAyrALP96klLhPrEw3+7NG1twCOu6LuuWPod0Y5Ey3Ug LQf7Ebk4looEwCJqdnk3GYnDY93VQPU5/K1niJ8OJe0MJlJsltCv5ngBMn1tpYSsjbRy eSJUrTfL3e7zMfqX5QNMTyQQ/iDoZYRx0aV9CoyRCZYPa5oZ7raPjtZxt4AFyWfM2VHF xVyA== 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=CW1xP5Vkxfo/f6DfA4GZOBVy8/tKdGpx43qBrOkwqIY=; b=NxH8Ws2AtZGmZqQPI8vio4IfxSnWYJ46G8AP7e93h9ccYTsWjxP8B52MZYKjnQpAVA edvjVnbwEIKeROD+m1hJCvuuvnoHqsdwfMN4VlrZ8zZW4u3YGwLnkqF4N8J7x6MsUxHi rOWVQjA03AtBpv3ZMI7tOEZdAsUZLjxNdqlutzAu7MSLCXG9KrTKmR/lgKf5iGcfWdUK 1n9VVaLTZEk8Nw/dqCJsnBMiTw3ibraBINrR/8YLsTDGhoutxNX+XmmeA4Ia/GidCB4V LzHk5PvnLABhGnxrEXTIceF92zTJj5SEpaa9oKef78vAYaTLzoOa9PFSHSeqmQ0uM7tk V4iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=F2UmlEeQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si11280413pgv.430.2018.04.24.07.50.14; Tue, 24 Apr 2018 07:50:29 -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=fail header.i=@gmail.com header.s=20161025 header.b=F2UmlEeQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751038AbeDXOtG (ORCPT + 99 others); Tue, 24 Apr 2018 10:49:06 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:41128 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbeDXOtC (ORCPT ); Tue, 24 Apr 2018 10:49:02 -0400 Received: by mail-ua0-f195.google.com with SMTP id l3so11184018uak.8; Tue, 24 Apr 2018 07:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CW1xP5Vkxfo/f6DfA4GZOBVy8/tKdGpx43qBrOkwqIY=; b=F2UmlEeQxKg08ylJ4hZIiFp8oiuVasN828zIjRk3HY/FQnS7D5MIJx59kksicAnxA7 XacgviqoMkdhWpLEWalar86GLbQb5Po13vQ6clDfMDrEdlkksSvhmYqR5pfz9zOZBbN+ e80W01LEFsYFU3yivjUbccOPjk4l7zB5IadcWSVy4q0kLKTf+tAbGhT0Whph2PnnoXL+ 3EmToEVp0igbEMxU0dR3soj22fdMRW3duQiWXpJ3IPe2Ai3gfSDEri4L8MZpCF2RDKTM lGQuuzmID6P1zXmRU2v7jDI4HL/RZRZJQb2blyqAB5fC2+Ma50qoraUF6B1i5svItUC8 DD8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CW1xP5Vkxfo/f6DfA4GZOBVy8/tKdGpx43qBrOkwqIY=; b=Nm+k0iKlqi6qAA3JXEx4uxushavDwl/vCcRzgf34Sqwqi4q/S8uXaBYWaq3Ze+6i25 QEHGbsHdm6S8hS9g6zr0LkS73RoQUTeY095+aioo8ljp16I6zmcBvztIWTbd7POHxUzF L63ZCh8HIVu6Wbw6eJdm4TZCZ0nWmtzc9KUv34GQny88mjgbeZAe0cXVvUikXN3yf3pb 6aOWaTarcji2bHJwXUgzV0WDG8zYMBFeN7sHD9iwqSChxOSBD7qCYnBORySKulqr1++8 YbGPVno0VvzNXqbop2VwZYpcL2epuokZRlmMPAbtD/GdKb/7g872M8HJCBaYwHcXXs1x F0fw== X-Gm-Message-State: ALQs6tCtD2248NNy1f8PHZHZJ4EPvJmbEKc7P4J+fG7lDOXO0m01e7fD y1EL2jHNR9F9o+oSxskXV7yLCyedU9jAc27nB8w= X-Received: by 10.159.32.72 with SMTP id 66mr18918549uam.72.1524581341934; Tue, 24 Apr 2018 07:49:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.122.68 with HTTP; Tue, 24 Apr 2018 07:49:01 -0700 (PDT) In-Reply-To: <20180424131720.4357-1-luc.vanoostenryck@gmail.com> References: <20180424131720.4357-1-luc.vanoostenryck@gmail.com> From: Geert Uytterhoeven Date: Tue, 24 Apr 2018 16:49:01 +0200 X-Google-Sender-Auth: ExLuMAO9breG8hGx1IX-cxVsFVg Message-ID: Subject: Re: [PATCH] net: sh-eth: fix sh_eth_start_xmit()'s return type To: Luc Van Oostenryck Cc: Linux Kernel Mailing List , Sergei Shtylyov , "David S. Miller" , Geert Uytterhoeven , Thomas Petazzoni , Laurent Pinchart , Simon Horman , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , netdev , Linux-Renesas 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:17 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: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds