Message ID | 20170606150041.10955-7-ruxandra.radulescu@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 679956034B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 6 Jun 2017 15:06:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5863F2582C for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 6 Jun 2017 15:06:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A0112849E; Tue, 6 Jun 2017 15:06:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4BCBA2582C for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 6 Jun 2017 15:06:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+GdRgm4c/tms1LlV6KWMwJPNxohxtbLZmkK+R0GRT2A=; b=tsxu+4Wbi8+aYT fES6Ub/AIR0fpilHBEdGEfwop8xMrT98a6MLu4jo6tV1i+5g1ncEPLlbV1BZ67qQcRTvwPWlcEygl S2fgifUopbXdDNQ1W1Zduz1F8tbOr4gqaZvjcVtfdptTDsnGEMY+mLKmHIpNgl0fLCnE75kqQmK34 2L6NNrkepmHswlEUFkhq91ZoNL1LKzAPRgdIAp1NbODKevi3uu12ObNUgmTuDovJ4Qz6YfrmYY7mh +5Fuf5Lc/MMalpHztbqZtDQE9pRtmIYhabw0Ipb7oM6XHEXCW8JUm00+nBjfFJutUjCNAxET6EWBa xFDvNXtHyPeNknFN4LOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dIG3u-00047Z-OW; Tue, 06 Jun 2017 15:06:26 +0000 Received: from mail-dm3nam03on0040.outbound.protection.outlook.com ([104.47.41.40] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dIFyl-0006On-15 for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2017 15:01:11 +0000 Received: from MWHPR03CA0005.namprd03.prod.outlook.com (10.175.133.143) by BY2PR03MB176.namprd03.prod.outlook.com (10.242.36.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Tue, 6 Jun 2017 15:00:45 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::176) by MWHPR03CA0005.outlook.office365.com (2603:10b6:300:117::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Tue, 6 Jun 2017 15:00:44 +0000 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; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1101.12 via Frontend Transport; Tue, 6 Jun 2017 15:00:44 +0000 Received: from rhuath.am.freescale.net (rhuath.am.freescale.net [10.81.117.102]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v56F0fwA005035; Tue, 6 Jun 2017 08:00:43 -0700 From: Ioana Radulescu <ruxandra.radulescu@nxp.com> To: <gregkh@linuxfoundation.org> Subject: [PATCH 06/18] staging: fsl-dpaa2/eth: Minor cleanup in dpaa2_eth_set_hash Date: Tue, 6 Jun 2017 10:00:29 -0500 Message-ID: <20170606150041.10955-7-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: 131412348446630835; (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)(39410400002)(39400400002)(39850400002)(39840400002)(39860400002)(39450400003)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(33646002)(54906002)(305945005)(6666003)(2950100002)(8936002)(6916009)(36756003)(189998001)(47776003)(50986999)(110136004)(8656002)(38730400002)(356003)(106466001)(39060400002)(53936002)(2351001)(8676002)(104016004)(5003940100001)(105606002)(77096006)(85426001)(76176999)(7416002)(81166006)(50466002)(48376002)(2906002)(5660300001)(4326008)(86362001)(498600001)(50226002)(1076002)(15760500002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB176; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD006; 1:ZKV5ss6IO8p7Fffqb+YKJkSb7URoiFrze5XER6FyMlX2JtAxtb7XG9vlZhxT4pXFHcMlGqpDLBDzVsC1u/QriWfb8zlqC+0l6sdqWYIhps+8l8jC/9XBhiCWxpzOwWyCr0FbeLEP4sliaKsZ58ibnsB0GASIkkiwgq6T/qwDYrGRun1MyBj9YBONZqkX0YUTVC++qKoADg6gF+Fp3cN1wPw41SZzcKeP3FEet2dUcXp2THzzfufRZraulJtQH5CBAOhE3atY9ZT2iz6Hqmo3FeR0KtaUCqNhj6c1S403uty9PDZEZ9ZSeGjfI/0wGYonYL0RTtDvfhWlTiMIQH4BBprOCLFkBBbqqxMMJoP4+ZkSr0U+vhFbOL6HLsmcQS9kG3F9ehRr60q7RvuWBUfKS8ZXq/9kQjLhRvrmeWhVuDOfPCv5lgqkD1CFEVUhTPZK7xsQnN6Vdf/DKstf4Q18vbgmJf9450OOy1COLI66NfQfeKLLsGWmpahvbLGR75Cm1oGFX7YlRZfSnqom+2d+FDaPDgzzvVOdg9Lp5gW7D2aBsUMwczO9uh6AtjLX3lZsqNR1XZ92mtSNWbfAxBnubFfmiuJlKFvoTSCNNhQAI9zfjTSgzPompsH0nUbGPfEgNMq0M6SHTduct8Q5TerdgnJK1XmprGgMer8zzBaap1uAQwIa2h4KK2GgSY33i84s MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY2PR03MB176: X-MS-Office365-Filtering-Correlation-Id: 490fde26-40c0-4158-8252-08d4acecceb7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY2PR03MB176; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB176; 3:mJPgaGLOGej/PeusKG6E0o9vPf+2lVk6QuiUjp3gy8fNzg4V/9yvf6H45pLzg81DR8BUkHeFnWmlTKzyY2PPOBjEg5xXzqTONyyhvyRDQEHS+dxWHNjyMZsZDyNrPPnnmuXSppcrahqTSgoz0av9koX7Tjsaa9RQ1lv0Kx91s92X5FDAbboQQb4GmJTyVH8PXNczGfDeKO7jXnsPq+UuucZeBsxmm4IkW0rC83+TnTINjjNsS/BH4nWDvd1qjODWbd9sabz2ekLj/unrrLCMhXAt4g3gr1ViPzY5d4LSfbqCRvn4sq6LcUTdkNahU+LltlKQd5/qGd37qlUG0LLZD//KJpBrnF1VWYMfJAE3a21ATRoFCB4D9mPzIgks45pkYMqVDat601yzJ5Pu1rglzHEXiWREjqm3jpHViQ8dCwqpxddX3ajANszwZidwHQsq; 25:2A6eZH/wewriPWdLBNvmbbZRWutPkHCAnArMawtQmHTB+f+zBc6RNt23K3WxdHF9vsJ+nSA2y27bekSOJZxArUZd4+VwF9yAD6ENBcrEY5BFhLYzzuJO2VJZQKRyCwzLDEILor91kKfr2bRZFT8d15K1WBlnYmPn+gmiYww5EELcvNO/oFpzeAOfYq/Dw+twjrQNxpYXOgxfwRh2G9d18nEpYNbqZ6TbMfIw5lmm+jGaT7otORH4Fol7Avs6gcT9SDf6hUpPRnIqUj7mEt7vnFedWOYDh87worOjCj2qEykaCWq2qkhs9Z23o9WaulwkLt00cir8XoOd1n8yaqscJgjZw0hqiGAz4noPwG0TpN+4zKK84/yHNsAu6XbuLJ7BnyHs6Qh4Q6uUQsfqvJT0oQOpAi1ahExmYzPomLxAqXclIXYfFaXleRCgVKa0skAZbzpMVbrIHfXCbISL2a0IMvRvJBqgIUHRpIAeiQvt3tA= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB176; 31:uml2HWJUr1qyk6X7tpItpju2exfeW1LFi5eolKcUcWh969hLeCqjDBBJpLuoN0S1MtTFUUV2dYPSTLTzdctMkDcKXU2UXeZVtNqAamsmYhDn4ZF9mxsa9AZDIf5UxRKcq+M+nNEd3ordItgdDE2o0ClI1oz+vMOq7c9udsZ7nUCPp4JTap7UG3K4U4ElV1vXO2xUudECtH72Mq8NuaxtAnmcnliwqrUgvsOLsjUOyAm3QF6tJwoWDWEe82lPPhuBgWIucW6iel2GjGWx4FZkwA== X-Microsoft-Antispam-PRVS: <BY2PR03MB176E0F270D90F1C1C3F59C394CB0@BY2PR03MB176.namprd03.prod.outlook.com> 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)(13018025)(8121501046)(5005006)(13016025)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123559100)(20161123563025)(20161123561025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR03MB176; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR03MB176; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB176; 4:OnsTA5urbEIzuZAhxwkabiXuJml6Oe+4WZUJP3svKQH?= =?us-ascii?Q?+PVHMXRQMHF3fory4hhxDQIoHunLeYg02exftj5B/RGKxWczg+YtUedDIino?= =?us-ascii?Q?PO0asp5oagw3tvOmCM0KjJQNM5gYD9OnbzdUwIElS0Nt5Hty6ycqzhVLgWIh?= =?us-ascii?Q?7tx7zs16WrIXK8nOJpq1gOvSrbD/61DAZsz+RvDTVjty5Q6MEUGKUGoK7x9O?= =?us-ascii?Q?xRhLgKqDsd1MBpgZXs7m7BkWFmiS+HgXHI4fu2RZIh0kac4CNN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+yzLOJp+Qw56fa7OngCctF3RA3V+pCOsgYNsCw?= =?us-ascii?Q?5m1P/EbumRA7oGIqfS4frz0lF1+mmmBpI0h2fMvMhhAXxX+NjflCw3cZCgLl?= =?us-ascii?Q?EADUS3V+GJQ3o6M1JGbWfApRpvUD9sgJPS59m?= X-Forefront-PRVS: 033054F29A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB176; 23:n7AryYvc6sdKOFL0/uERca5E8D/JZsPP9MSe7S/C2I?= =?us-ascii?Q?CFvGKH1r3zQtJJ8Gi2u8K0+gl7sF5co+jQNoxIvzVzEfxQ/4Jfy07na4hddi?= =?us-ascii?Q?dblTmHSgHrlYa1sv0EJHZsu9N1v+ICcdse/32Kh8I/3rUf6PDeYzwjXenk2S?= =?us-ascii?Q?PCTddQSsF/s6+fmEAGLdgA5Oh9jFBbIWS25ykRMSlqdMplCmRBOPqi81bBrO?= =?us-ascii?Q?8+qrKJ5yQ9I1gzEsWY6MCKTLEQDgJncE7QqB+PrXZcSBWOU1A3y6i+wNMQi9?= =?us-ascii?Q?ogzM0uCpUeYuidOH2CqIz4k+XKgjkRO8NzC0Y48vw4GUw9rNuskB8qlb/Hy9?= =?us-ascii?Q?HmyDascb9m67hpgjDD2LpSutdkiGH9sqtZCrCmBig1YosdFmr9aPEuhuuk62?= =?us-ascii?Q?oQ6FYEVdHUJjLbrydv4kVkBOA2spbPp9XKVrql0oApi2nS75r0st/Bv4Bzgd?= =?us-ascii?Q?SGgy6Mad8gRTB7VTfdxvV1k6TW8Xajc9d2lZSI16lfQwMBabx2Qs+p1gCXVE?= =?us-ascii?Q?tMVBcwtALalUPAQN82gNletA9R2Wn90/iEJVWKsukNeCBdWnZscJd1+3tEfS?= =?us-ascii?Q?ptgLuOr7ndMR7xxddrmMXMvIsq1a+9XJ+biLCGmjejMFQ/IJAmFtuSMIESpm?= =?us-ascii?Q?jonuyOVTwtvDdIVVSm8w7NTq2XS+ZXOI+rlrE6dWJ9gEkkV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z3neVM/CF2BayXyszYnZXaec1III47+xYaPYg7ri0TSNseC8yG++99Eruv/lajJUGHStj53EOnXIlDyAhKaiHVwTByQmHQQnU3saPYKOJnFAlhW44cK9ZtrUVnB2Cw8QbObWjqsG+Law2ILvvtxW8NIkPnqXRx8R26BSmV4jRcA6279Q3eFwE3P8YqTMJZow5EkRuCkiw51fN3DGGw6YP3DmMjps1ilIdjUM4urQVyaxGxtD81cL5KmBOfKUuO9jOg5x+IGqd99iMUOp2Ziw4NtRXblxClYwANQiXlT48L9Eb7dJ/aiQiMypxrG+mjPQNIw65L3uk8bFX3OKsj62g== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 15:00:44.4758 (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: BY2PR03MB176 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170606_080107_238961_8C3A7868 X-CRM114-Status: GOOD ( 11.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devel@driverdev.osuosl.org, stuyoder@gmail.com, arnd@arndb.de, linux-kernel@vger.kernel.org, agraf@suse.de, Bharat.Bhushan@nxp.com, bogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org, laurentiu.tudor@nxp.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index c4252f47d57d..bf6f300affa7 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -2009,10 +2009,10 @@ static int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags) memset(&dist_cfg, 0, sizeof(dist_cfg)); /* Prepare for setting the rx dist */ - dist_cfg.key_cfg_iova = dma_map_single(net_dev->dev.parent, dma_mem, + dist_cfg.key_cfg_iova = dma_map_single(dev, dma_mem, DPAA2_CLASSIFIER_DMA_SIZE, DMA_TO_DEVICE); - if (dma_mapping_error(net_dev->dev.parent, dist_cfg.key_cfg_iova)) { + if (dma_mapping_error(dev, dist_cfg.key_cfg_iova)) { dev_err(dev, "DMA mapping failed\n"); err = -ENOMEM; goto err_dma_map; @@ -2022,7 +2022,7 @@ static int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags) dist_cfg.dist_mode = DPNI_DIST_MODE_HASH; err = dpni_set_rx_tc_dist(priv->mc_io, 0, priv->mc_token, 0, &dist_cfg); - dma_unmap_single(net_dev->dev.parent, dist_cfg.key_cfg_iova, + dma_unmap_single(dev, dist_cfg.key_cfg_iova, DPAA2_CLASSIFIER_DMA_SIZE, DMA_TO_DEVICE); if (err) dev_err(dev, "dpni_set_rx_tc_dist() error %d\n", err);
We already have a variable for the DMA mapping device, so use that directly. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)