Received: by 10.192.165.148 with SMTP id m20csp416423imm; Fri, 27 Apr 2018 00:51:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo5r05vds/wk5ifB+XDRKPsXYWhpazJZTnCuDLNNPjhzX3kl5rASkBHpPl+LwfIpIhwuJ7n X-Received: by 10.98.194.199 with SMTP id w68mr1262440pfk.174.1524815497644; Fri, 27 Apr 2018 00:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524815497; cv=none; d=google.com; s=arc-20160816; b=WNY9G7DD8AMyp4EX81R6PyXxPzshGnElLfj5GGIqHpM0HWWHW9ZtnVMym6e8TIXCiD 7FBSb8FaU0SwKx4YxIgpWK9W9HBRB/zXaupL7Rkg/IIEs8L3FNKxtp1ZyHRGVNGKFhMZ GGf62SWqIcf+0wZIm3OjOEPGGZTjgpnYW8esvELEbTUUDXDI4n1bvkocptFfVQvT7HLS Pak8TKqyOduMMUSZrKqtfKonq0DUGsg3t+jL0sc4peD1fum3FJxTtwSJCUEjEwqAF4Ek b6oOtGhzKD6yk+bg41R3YDucdn4CdO9YIBhdeBTWcG9aJ0Mibr9LBZYIVqjgkIm8wsdO UYow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=S4MZEb8rJ1LNBX/xF3Uh4jafSk2+9GF4JMLRjie4acM=; b=QMYSN2DIr8b7p5hkoTKUoPU9dkR6/wlq9UVvFyYIPOgHgzNMwXhcOqeYmEiZhAklXr spJso7bGq0pKqvjVyV0eKU8PlsScytyplB2Y2WBJMgEb7cY2SCO7S4+1J3aEHln8PiTY Eyv0MaADY4BUWB98fi14BxBSs6n8Xk9iIj0TArGhJRxJCDO/mGN0dVJ4zju5T2gx9DYH Dna3wB1wX/b5GuhlnDjidLVvbb/Ip5BlFEJKiwlhJmbvVfC9Dt9x6kE+JfhDx+HxmMr4 O57Za3BeBoeBr23JJuV6uhCZV8qJFoNOA3qNKOJt7IgQIRXxSZbcUkgkBLRvhOSyk492 2g3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=nUSQ6/TZ; 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 92-v6si770344pli.354.2018.04.27.00.51.22; Fri, 27 Apr 2018 00:51:37 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=nUSQ6/TZ; 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 S932265AbeD0HuD (ORCPT + 99 others); Fri, 27 Apr 2018 03:50:03 -0400 Received: from mail-sn1nam01on0081.outbound.protection.outlook.com ([104.47.32.81]:24096 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757444AbeD0HuB (ORCPT ); Fri, 27 Apr 2018 03:50:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=S4MZEb8rJ1LNBX/xF3Uh4jafSk2+9GF4JMLRjie4acM=; b=nUSQ6/TZoPyklWQJXELlFaB+IeGaIkiz6aUBxDTBIiKU9jGZPLVgpbvPg9nSTDn2lOV3p0SzJ3oLyND4pgcWLczHutRIaNpxdeAJoobXINTimDSe//q3/WIywsIgfdc2QoXn7fjGZWqGcyj6gxmtWeelI7qSALY7iETwzmeHrWI= Received: from MWHPR0201CA0001.namprd02.prod.outlook.com (2603:10b6:301:74::14) by BN1PR0201MB0676.namprd02.prod.outlook.com (2a01:111:e400:57::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.15; Fri, 27 Apr 2018 07:49:58 +0000 Received: from CY1NAM02FT046.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::207) by MWHPR0201CA0001.outlook.office365.com (2603:10b6:301:74::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.715.18 via Frontend Transport; Fri, 27 Apr 2018 07:49:57 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by CY1NAM02FT046.mail.protection.outlook.com (10.152.74.232) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.696.11 via Frontend Transport; Fri, 27 Apr 2018 07:49:56 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:45200 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1fBy8i-0002X3-Eb; Fri, 27 Apr 2018 00:49:56 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1fBy8d-0005zf-BQ; Fri, 27 Apr 2018 00:49:51 -0700 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w3R7niRb029517; Fri, 27 Apr 2018 00:49:45 -0700 Received: from [172.30.17.111] by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1fBy8W-0005yi-JS; Fri, 27 Apr 2018 00:49:44 -0700 Subject: Re: [PATCH 3/3] can: xilinx: fix xcan_start_xmit()'s return type To: Luc Van Oostenryck , Marc Kleine-Budde CC: Wolfgang Grandegger , Maxime Ripard , Chen-Yu Tsai , Michal Simek , "open list:CAN NETWORK DRIVERS" , "open list:NETWORKING DRIVERS" , open list , "moderated list:ARM/Allwinner sunXi SoC support" References: <20180426211339.30821-1-luc.vanoostenryck@gmail.com> <20180426211339.30821-4-luc.vanoostenryck@gmail.com> From: Michal Simek Message-ID: <79ea4ab6-a12a-21ad-b586-6a1dad176c0a@xilinx.com> Date: Fri, 27 Apr 2018 09:49:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180426211339.30821-4-luc.vanoostenryck@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(396003)(346002)(39380400002)(376002)(2980300002)(438002)(199004)(189003)(230700001)(4326008)(336012)(58126008)(6666003)(54906003)(426003)(6246003)(110136005)(316002)(77096007)(478600001)(356003)(39060400002)(229853002)(36756003)(106002)(2906002)(9786002)(106466001)(31686004)(186003)(64126003)(63266004)(36386004)(50466002)(26005)(47776003)(5660300001)(44832011)(65956001)(65806001)(65826007)(476003)(86362001)(31696002)(11346002)(2616005)(446003)(486006)(126002)(8936002)(59450400001)(76176011)(53546011)(81166006)(81156014)(2486003)(23676004)(305945005)(8676002)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR0201MB0676;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT046;1:efbMhB0TPZNoge1rlDyu+hIu32sS5b/fI5YPQFjHHhvcl8tT4H3hE71ZawPvtgKa8coDia6GkPa94q79opjYzHoORjxBwprFS9bnkQELIhdR0Pbl8phy7Je+0sMgfBtl X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060);SRVR:BN1PR0201MB0676; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0201MB0676;3:bWmf4rzt6yfb/SlMbWJgrv2VyBAFcvjs2V0Itc447CEx931urdw7I0m54T1BaZU2KJvUvMGjlsDczVoso47pPG/4rUuy8vEJZ1zmADI2ZolNeAVpEs28UrnkJYyw4aY5+E6VFC5G4aFz2pU7Zq1/FHnAf4awBG7m/v35ZXTvLmJF3yqwg1QzEWn7UQVwxgeQ/iz3PiVM1zciJDhcYGvAodlMY2OmIKVoCmxXHEyFqDokt0qL0YgqxOztICcnGemAado6KSoF9imOgH3qwFk72CC6iopkiTKQA2NGeQhJ8hCVInORt9gryySU5qGfU/EqnexNbOF0/dWLL5nigzmQbpm4HWR41yIvAbJ8rqYHXJI=;25:09BHo/FVVC0mvgIiG08YtGSUcA+iFhr4fvr665/C/DM+ICL5xem0dHII3MrvL/ngJ32LDzUEIETvOLoTZagC+xpjD/IQ76+0eztkrBfRHcr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change-Antispam-Report-Test: UriScan:(85827821059158); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93004095)(3002001)(10201501046)(3231232)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011);SRVR:BN1PR0201MB0676;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0201MB0676; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0201MB0676;4:nuIJFZm0JuntPE/qhrEXQWEPvMqnNRc2VYfdVoTNlYJDj5uwNomfimhJM6ipMbxOpNF/r/6CgFgyc5MZ5z+i+ltnzo0T0ghfYQBHqH3O+411sRrwfJw/MFKxfZc9zMxS2ahkoan0Vgq8+JV0Jrf6CPsa3g37JRzWlMaWSsVvvoWduy4bPGD2UNQM4dpYHyd+y1QAc2kLf7FgSpPwWLXnktC9Awhxnu4giPKbN1llSdZpkudScnDxxtlOEYIq9JucGReEH/8TQs4fGEzoQgKcpfjkN958ELzhg5SZxZ7IZVWhUX1wTst1/LD7P51+Qe8f X-Forefront-PRVS: 0655F9F006 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjFQUjAyMDFNQjA2NzY7MjM6bGNpanNxbGZheERUV1FFdENBTG90WFNF?= =?utf-8?B?ZlgxdG1uM1hjaERVSU80bTc2OTBRUTlsTmQxRmFoTTd0cDRJbG1HbHF3YmFw?= =?utf-8?B?VnMrZE0wS3pOUDQ1Sk9SVmRGU24vZ2F6NWZJaHZhYnFSZHUwV2h3VmU0cXE4?= =?utf-8?B?c1hmL2ZMOWlPbXVxZGlsd3ErWnRVNXVwZDJ3bXdTSHhmcFFVdzczcWFTQ214?= =?utf-8?B?SWoyeFl0TGRRN0UwOFdjdlZtNHFyQ0xCTEhBNVpSSzV3V0JNZnNqTmh0RWNL?= =?utf-8?B?bStQSDRKRWhjUmN4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8?B?ekpOam5weXdNZ2NTcmNLbGo0MUhlUHQrc1dxd1VXMkpUS1BLazc2aE1iUW1m?= =?utf-8?B?MnBaQ3Q1eERMSStCT0dsNmhuR2JDL2hPRGJ6ZVV5eFNNRlBaMGxpaEk1TWJN?= =?utf-8?B?b0V5SXFEempBY3JURHQ4MEdvdCtVRTNPMXIrZ0NMZUVZSFBGdTlhSVdqbmN5?= =?utf-8?B?cmVKWXRBQTNGMW1ncTIxRFkzMURzQUh6OXlCRGZzV2MzVVhiYm42WExvekx3?= =?utf-8?B?bTg4dlJhZzFaU2hTelUrLy9QRWkvcGwxRDAxZDNOYllwcUNJYWFtRDVjYzho?= =?utf-8?B?ZW56SENxbnhBOC9OTDN4OWpzZTFQaVZINFBCelVHNkVIaHNldG5rZTZ2Rmh5?= =?utf-8?B?bGlsK282cUgvbldhM2dvdC9CdDFjc251RldKeFZkSXBDeXZiZXp1d2dreFQw?= =?utf-8?B?Y2dUaVB2NlJ0WHp2SzRWK21vblNUd1E3Zmw5UERBK1lUVzhKVTg3WUlPWmts?= =?utf-8?B?SzBuUGxJSSthdlJQM0h3cTF3aE9XODYvU3kxSGU4empRVExsQmhxbmRVc0ZZ?= =?utf-8?B?ZGFXNVZubVl1QytzZndmUUJydUxLNEFyYW1vZWN2aHh1djNwc3VGQ0pIUHUv?= =?utf-8?B?YjZ6UVY0OUFnbXhlYllpNWQzR3NEaXJiM0Q0cndleEZXWE1SOUUzMVZwbktV?= =?utf-8?Q?12CZdjIpKcSlMi/YWufywe/UiMo2FG9cI5?= X-Microsoft-Antispam-Message-Info: zS1FNG/aRnZfBtTuCYeq/sNL3uNOGKOQQTWQSrso06zmzG6Tmv8THaiIgv964c/SNKPHTMCytCmNego8wcTizVbet38goC6rIageYVBuIXb8k8eHcRlt8qQ68d3/mII1dOMVmuTLxlD6w/LMC6vUwN6hJJSllCquSL35be0lQg+YUlelDTFbpek6xPVG/Es0 X-Microsoft-Exchange-Diagnostics: 1;BN1PR0201MB0676;6:WE4sQVyiont3xqO1CDeoy3SYHh3WnhEbywM5gzBhH8QW7aWyrwTPPLAXEXNPclGfOLy3dbi3fXY07rGy0A9gMUj9JYUznLEgVHRXA7/VplKdWah9KO28VyOgLsKz0BmeGw0yhrnOk7p1MF24k1VskOOqQXDegCB082PYr7k6Ga3iffPKeOININ0I6tOaIjqZhHp/9+t8u9qNmpHXTYIk6V8sUEVL/RbTCV+UyDZRqghD8tCCumpNfQnWpIo9ALgIc369uIF46HYal8TlIDXS3QVvahaaDxW64CUpgeh6Cx51rB0dAon6Yhyc0j/MREVtkxGAiY0sNaAv+1efkLlOtLDYxuvn6XhzlvWJo4e1TcieHV/KDQAjLFMSK7VdM2TcgpOV7+a4tScF+rAUda5yHehUOTUaDEo8KLJ2ls76fC//82IzaXA8PeVd/EA0wDKMeS15q9NYmLXs/e8xzFn2bQ==;5:e26dtjCpSaCq74DMKyaNQ/gfcO79Fp+MK2yAy0/l9EpNRO3ph1MhDWMDceMbsswIfE57wbSrMYz5ZEcZURvXu367IMJkRlVDO0CsWx7C26VLnsBqGQqOVnAhN8lzLWaarxoamLgdqWRI7931o/3A6AnlaRqVKGbS982JbyEqI0c=;24:jgR2SU/zCSHm7FracTrkanRKhqLlDNWMzEYHgEiJ6HCkEKSSCfdlYSnmV8/lA3xmssaawaojcVkbLGsi8UYIZfjrv9mqdovmAwcePp3M/I4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN1PR0201MB0676;7:iTl8iPM5vrzn9ZmZYpjdiEkPz+7Q2nFreJdL/LFbDTKcOSsygachg5RrDTfvaariiZNArOz/wD+BlbdrhaX9U+DudE5Xvn0U+Csl3nZtsiejUUolF8CJQWr3457DVB8DBPoIxj1fP86e4IeTmgkXRtMmFxDEIVYmPp04xv4ExLtoLvgZtOuIZQee+DovxvMGzZTbrxklbKlhGFxbGND6FPC1aeTaFozf9LURMcBOZi2Tv8NOdJszLsz3c4pwhi2y X-MS-Office365-Filtering-Correlation-Id: 0686ed9d-2c0a-469c-3ed0-08d5ac1378d5 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2018 07:49:56.9234 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0686ed9d-2c0a-469c-3ed0-08d5ac1378d5 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0201MB0676 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.4.2018 23:13, 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 > --- > drivers/net/can/xilinx_can.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c > index 89aec07c2..a19648606 100644 > --- a/drivers/net/can/xilinx_can.c > +++ b/drivers/net/can/xilinx_can.c > @@ -386,7 +386,7 @@ static int xcan_do_set_mode(struct net_device *ndev, enum can_mode mode) > * > * Return: 0 on success and failure value on error > */ > -static int xcan_start_xmit(struct sk_buff *skb, struct net_device *ndev) > +static netdev_tx_t xcan_start_xmit(struct sk_buff *skb, struct net_device *ndev) > { > struct xcan_priv *priv = netdev_priv(ndev); > struct net_device_stats *stats = &ndev->stats; > It was applied already but there should be also kernel-doc update too to use enum values instead of 0. M