Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751817AbdFFPCg (ORCPT ); Tue, 6 Jun 2017 11:02:36 -0400 Received: from mail-dm3nam03on0085.outbound.protection.outlook.com ([104.47.41.85]:36784 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751479AbdFFPAw (ORCPT ); Tue, 6 Jun 2017 11:00:52 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Ioana Radulescu To: CC: , , , , , , , , Subject: [PATCH 03/18] staging: fsl-dpaa2/eth: Fix return type of ndo_start_xmit Date: Tue, 6 Jun 2017 10:00:26 -0500 Message-ID: <20170606150041.10955-4-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> References: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131412348495397910;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39850400002)(39400400002)(39410400002)(39860400002)(39840400002)(39380400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(106466001)(1076002)(54906002)(575784001)(38730400002)(86362001)(76176999)(50986999)(8676002)(2906002)(110136004)(53936002)(105606002)(104016004)(47776003)(8936002)(50226002)(81166006)(48376002)(356003)(33646002)(2351001)(36756003)(2950100002)(50466002)(6916009)(77096006)(7416002)(6666003)(5660300001)(39060400002)(4326008)(5003940100001)(189998001)(498600001)(305945005)(85426001)(8656002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0301MB0905;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD040;1:OXn8lwfRoob8wuxoKAtL0fXuZaNIRJuGpL0/rVBre08YZjsTyUdPtzCXKEmQGBx/aI1+akMPdajUKsmOwXei724QpF3DqamW+YarUNQlqM66yIb2QcMIRUMh4mt1y7GOuB9vesePpA8ZtDwW2fFzqabY3PhzrSB6kHJUAzyv6G9nS33v1MVsI6B2wz1E3Zr6IDCSDD/DSe302rB+c6XkfY2qV6sbP0OnTrQZgQoa9ycBspG4hvkwgz9LLGqnNqzsgU/TlIl21cI1HAAzQVMm39hFr6jVHoCad0rZFCU+s2bu2hUqY7mf5H9AXXi51gIYptYq+zKDn+raVwSQv+KYZrxMTnLmmn5c6X3MxAXzgbbSM2HeamV35H1L5587u4d/jVJY6JDbN5Ct1AqodgN7iOgV0XgrhKpUOxCqw4q7dGfvjY/4XufkKK9/csnip7D2yh47Y2VzUtN8Nyxbgmg7cEk7fLOcaxzO+HmBAArruRDCd6gdH2/fAN/X8N0Ag42l02M4TXvF0aNaUy8XMTXgUe2j1czXXLyKG2n/Ua7yQu17sVaeuwahcn6pWQDSZFFq1VIuvWv+xq1NZP5PxG7CyXLMtfosXBQqHE2OSzu0Iizns2IxdOIZQfTMGNPAYUzKEd4Rd0sx6FsiRhAY572pTQizmh484vx7Fdthd7g7g9vReR4JemiNHy4tpa6MlhjQ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0301MB0905: X-MS-Office365-Filtering-Correlation-Id: f9425c29-a9f4-42f4-97ad-08d4acecd18c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:CY1PR0301MB0905; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0905;3:K7QbbtPAxmTcl1wXA/rfKcyWw/poj7OAS9YaXLttUKhRyrT31jQYxW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aANvayYyEvW+uMTLYLJcAcT7z+/chqzDdJ5InyjxhYpj1G9C09Jf96YHAii/nP6GsaZ3KUE7mAtKsuvBhYKRurldjYmqFpTVNoPQrs4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(8121501046)(13018025)(13016025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(20161123563025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0301MB0905;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0301MB0905; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0905;4:l2cKk+cV3v0+Wn+c2EjU8Ln68qIspFqIpc9OCsKf?= =?us-ascii?Q?8WJNALVkwRQy5CE12/ewYgr06E3zaiKCW08dQLeAZG+guZYUQJEm4alF0Sxd?= =?us-ascii?Q?z6nlNdn32xfr7geKjlmD1RAMmydHYIouIzlSwzdx2qghuv2PVK4BsV/+nOeR?= =?us-ascii?Q?sgfbEinF4TPonvMiznkG918aQ9SnFt5NZUfcAy6gol10f2tWwzWgq9Jn2Qxs?= =?us-ascii?Q?08605LNUUaLsu8pLdaFTXp9UXC9QUiiJl+IcAIdDf21arQK7+QmwpNYNY31x?= =?us-ascii?Q?y1x3K0qrqT8ta3rZGUCvGJLvCk0semM27bUfm11YdBEP/qLb5WuvcLxuy1tB?= =?us-ascii?Q?N91810tOhHe0ahGQ4WZWQfovaDH5J+yWj2JhwcXamYLm9u8e3VPDNXh9tW8n?= =?us-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forefront-PRVS: 033054F29A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0905;23:E9+t3ALI5OcwWwTkLNLFPc680m4IfDlwpI9vOOy?= =?us-ascii?Q?lN3cP5c/iC9o3131o0qFb3L0PpR8V9PJtfnX2pughAd3zOfI+lTNhCzV6KcX?= =?us-ascii?Q?Z6ensAUJUJ5yxAQ/wdHNpckTkOS1Qlj47il5Kb0EkdcLPTbRgqMBq8VvQvgt?= =?us-ascii?Q?J2bWWdqLltE//THlgU8Ov9HHLZXP3vYVccTgoAr6c7GnowCki8aYf65I5dMh?= =?us-ascii?Q?vgtx7qZmffVnEjpwQNHE8mlIsovFSOleDRCgbUdfFBPuJDE5fTVmdRHyGu/i?= =?us-ascii?Q?KhbUumc2LD2ACFecDd7NeAAUVsfzdtXrQ9CtHfU3EXzjEtBRfNUwoNV8FhEN?= =?us-ascii?Q?8EvGHIDIdwa40UmegfsKEpPgFlSizB3nJgYmX91O/o58tWZEWYAUqugK8P0A?= =?us-ascii?Q?VsH1x4GSQ1o6PXs4t+hfFA5iNKYKj7NPco7yaUIGN8MkS7Zaw1qkiibeEbA9?= =?us-ascii?Q?kb7KuIw44K3qgnrmPCUkp8rxHgI07o87TFCFWPvdD60HNapUHBsCwr0NCl+Q?= =?us-ascii?Q?ZogFEVp6Qj3+4zsyYDoofkxiNxVi3mjnDdeaQafsMMw/0VDRb5AU7Zm/lbgJ?= =?us-ascii?Q?BeYbwJmAxRttUbxS0K8y1FWRfMFQGbC6Cp3wTeSLpEUi3EGA6GVUyCpleR2t?= =?us-ascii?Q?xw08iTsopWRJeiO8FTaeg2Dzih7I/FIHxnVybYFR7QQX+y+jA196zFaaWmij?= =?us-ascii?Q?HOk8nATPHjqQwUv9Je4lVCp55EzmML20m9luJO2h3eAqDFgn/MNfMJdFblCw?= =?us-ascii?Q?jxf07r9WtniGOpmr44UJ8MDVpPUqhhMJUIKMPzgjTtXBDwmZOB6EufZLh45k?= =?us-ascii?Q?4h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a2d/Y1dAQeE3psgr/hOZHp6LfiY4QDV4hGEcKrtoRhH7JFfNNfuRLZ1O39WIOFdI/nsFKqST4GqHIbldVMWQ0N1Eu08ow53sHIDKewF+sF4Kb2uYGaF+ZwBO7ZXF0w== X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0905;5:bGN9a4F3utHZ7FVbPs3Zw/wDQEonhzA02pm+g8JQLVS/4gRHGLIXKVXLLC1lkHSSdqX6X8PNu7oTLWVYZU4elvakiElSRI+28NXm0RfVGpx7f449go8YmmJ23iNiARDGwsTh66dLZjzEYMOepnae7WQiO484oejYsZZTsvwc6FvRuD8JxZBpqJcPQh0SHLdbvziakr9cawf+fQmP3HEInaoCcbVKNwOtNgn+0TH9kJWzNMnOgTNnh1iockOyvcOM9CZboWCUbHG14gl2B1nlUdnjureoTETx66w7f9S6L7+73CVGtPcBO9Sf5VH7uXnAUHbl85KpxrVuNhhiVh+4ZTZMbj8V8k2lMdFjCt7eYRis9jyNxPLTvLfyNVhZ9jtUtnSYd1uoiRRUnp20ZpxSYCFekVf2KaxW6mixrz+pcGEw9UwHJznkXHxhCU/xbwIA13I1nPaJxyJB4GOaJ7inUuAM71MTq4XLoSSzXreS/2QJq2VQVIpi2cAOUFn07C/yfrl6ynUqJ6r/4hDk8Krd2w==;24:p+fxXg13dl2+ff8KtfH+dWQAGkG/DHVBtbZIT+WwvXxYUO/6lg2hfX9Eob5xQVpq0TjEevl+tDsQqeR7O4JmvZvMmbQOV2YEdf4s87tOKcc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0905;7:Wq/0EmmjKiQYqxzFpQaC1ZZpcnLHUWRKhd1unvAgDGjfeXwEFWvcoYSj0lRFBhhf+fXs3LyPvNB4LDMqeTZKj4SZ8hYehAFFHRV75LmRukH3zqINgjCeQv9UYT1cC4rmTbYn/LsX03qkEs7Je3WMthStY8ulvWdlMHRDTFdpXs+UpGL956IESTSg6T4vwWPz5ehVMYVr8nEK0IxM+SlmkO48Dm8aCgjZhKfWkQUKF3uyXD5tLjF5JhWWd5r5i/Nzs65+0IL8SDyyaJ3+bQIlHo5HN0U6qUXkjPbQT4azzQz4heDw2NxTyM9+UTNlYA81SLi56PHvH1UyxZqMgWu1Zg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 15:00:49.2121 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0905 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 877 Lines: 23 ndo_start_xmit() returns a value of type netdev_tx_t. Update our ndo function to use the correct type. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index f0ef3a7c0f73..a9e245df2488 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -551,7 +551,7 @@ static void free_tx_fd(const struct dpaa2_eth_priv *priv, dev_kfree_skb(skb); } -static int dpaa2_eth_tx(struct sk_buff *skb, struct net_device *net_dev) +static netdev_tx_t dpaa2_eth_tx(struct sk_buff *skb, struct net_device *net_dev) { struct dpaa2_eth_priv *priv = netdev_priv(net_dev); struct dpaa2_fd fd; -- 2.11.0