From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10077.outbound.protection.outlook.com [40.107.1.77]) by dpdk.org (Postfix) with ESMTP id 4665B1B3D2 for ; Fri, 28 Sep 2018 14:26:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CXou/eXhNogvF0DORVzFOKD8SlKe614g8TzYMmDQsc4=; b=IIIHZL1cFFr4ZRL/xa1Ywf1LiYLzcxmFnx3+aWv8KwcFUav3Ke4AQzE6RpnN/EySUvFHNiUC6xUyMSgfzBJUorGzFwFb66HFbUEabmJFaN5xedOoguA1DeS1oEbmcp/9hTsKBAjFvirId6ENSsTqkQ3pkXTNI0ED2AplThfmnVk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by VI1PR04MB4685.eurprd04.prod.outlook.com (2603:10a6:803:71::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Fri, 28 Sep 2018 12:26:47 +0000 From: Shreyansh Jain To: thomas@monjalon.net Cc: dev@dpdk.org, hemant.agrawal@nxp.com, Shreyansh Jain Date: Fri, 28 Sep 2018 17:56:04 +0530 Message-Id: <20180928122604.32618-2-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180928122604.32618-1-shreyansh.jain@nxp.com> References: <20180928122604.32618-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::28) To VI1PR04MB4685.eurprd04.prod.outlook.com (2603:10a6:803:71::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fd4e2f7e-14c7-4f0e-a9bb-08d6253da965 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4685; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4685; 3:BtxlQTXu3Bo5T/Mhe/mCGZ3BQjj3UMgFHON6XohPIUbIyiKP1NrI0nEdp+rjh1mo/wU+dmsQOql4jO4iUiByH8duusaGbqJEjztIH5peo+XrR9TwUgv2cQIJaY9S0uWyrWcLmAawIeoxQxTEpqttJ2NjIBjuqkPTCaN/CVbce2ggCFg9Wkw7+hLGUtrYWLZXwEKucNgSh19SEaWLn/YoN7gKNiQ3JGuSVwtohTMOQPUgoKCqxS7cMkav8fU6K0jL; 25:NXD3bO8bYJc9SyTR1Z9LpVYHQHmuEbDjPsYA6NfVxauCbL0VgMsFeQc+qZciy06VT0bCkeYWuOHKj2g12Lwf+3kJaNADWVzaTjR6r91/7OSt2hx2898WEkl+uj/cjS1peI7v80AB4ZW4L3LhyC4JOX+LxFhhvaMQ/mBhzN3Ex43eEaZZpMFMox541MMMLgqqhKmLkuo13LuTI2lxDwdsbl0+f8h3SYwAXdEe//Ajz4tb3uM8ShrmJ+ninXyX2omTT6WhdHRK+UcOI6NYpKNhG3e4kLHPOoT6KPVSKvetXNYCBDhrsXbDTo86nqSBMtBMZ7iaFEIryG92MI7pP85jng==; 31:wokm0K3XiZ6r5AjwYAZybiV24UKUJxg920k2Pxf7BFiyItEA4ldlbERhlbH16mIBQFkwZS+Ukg/34xvYQeQxDbFiIfYrDI0W1xYPyLtIh2Im9ZdoZANyxLylDSpifKLTqbtvGeuK4ktcdInDaCSHrtkWMtXHpMzOmYunATv3sbqEQM3LoUFFanXRz1KCg+ICdcpczw3E9J6zdleWfQKheK4W9JugxjhkuJa8OURmAnE= X-MS-TrafficTypeDiagnostic: VI1PR04MB4685: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4685; 20:mEt6OcxlYX+urYFWFGX304LE1NWI+9riyhqxfTza2mfLfE3KPBXfMezuRzE5XKycBiXUM0fF1//wrxqLNSsdGAIgZpBPofcBdeqNut16JOnjEHclyY+EnNG0qlwJxgnAW0vNKng0Gtbbt7KMpcD45i2uiN3yn0qjltv2wwnKqHloyddLHUlkAmM/Je/b+vGnGXTU/+0Cgia+WXB3iY0PWcF2eBpBmrkrhHFfR15pM48lhOHQkMrBl17HHJHRVIjKfqkvcvZJ4cfjvq2V8JVxXcvInIJziZK6/XpGHYwA8g1O61rrAUVmxP5ZwEkeJDLNqusReze+1h1dCedl2CxOK9GpqYL3iroLoBqhETxZ+hZI4chk2LefzbNp1p1O/gsSieabyr5dZH3Lde+ee9o5ty9I1h4OXRuPHLBRbwqekjH5ZjLuhGRZ7ffGjhO0hwPY56VAzyH/amLw9zlnLBXtQsGQF6k9ecSCbIfbzgqHKcUi561gGs3CgQh7+h0WXSq8; 4:dlO3Ysz6kP/EGSj+EVU+m0X/QFgq7VYwHTv/rBQnqVrt/OGJLunJ1GUBQ2nyXhSpjSXXAYMSLOX9ZxjTmKdfCmsF1naJSYsmFa2aDJ4HroD/5jTF/nqA5BmMvFWNgCjMSiFXDMS2Al+mVDVzYtNE7C4/Jg+1P9IlpacFAQfVkR0ocdVBYrxUlUlQclXjv+CwilghOn2I3CrCAZvxWRNQ0jh2roOxByDP6oSKJ8SEvO8G46TUwXeLiCQR9cH22Vbn+kS458I44iP8Bt55noBNB5ReJsyuYD0f0GW6u8snIGhbQMy2mmDVhN0xC2nFqieC X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:VI1PR04MB4685; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4685; X-Forefront-PRVS: 0809C12563 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(366004)(346002)(396003)(376002)(189003)(199004)(6666003)(16586007)(50466002)(1076002)(3846002)(51416003)(52116002)(6116002)(4326008)(76176011)(486006)(11346002)(316002)(44832011)(25786009)(97736004)(48376002)(446003)(2616005)(2906002)(956004)(476003)(5009440100003)(2351001)(26005)(2361001)(105586002)(106356001)(6916009)(86362001)(575784001)(6512007)(478600001)(6486002)(36756003)(8676002)(8936002)(81156014)(81166006)(386003)(34290500001)(66066001)(5660300001)(305945005)(47776003)(7736002)(6506007)(16526019)(186003)(68736007)(50226002)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4685; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB4685; 23:nR5kr8+tuGbwmyx52AGuHD1jpKPbH45ZZozfwmTuS?= =?us-ascii?Q?mpJ8KkLuumLZqBjZObXtaEddRNECR8kXom8fgCOUbP8tn/+Q05RQSUJPtpTp?= =?us-ascii?Q?FLVHD8RaoqTWAAzIpv+2W7/fjfN5bWkjCnq1qGihJLY2XjAFCfzRRmwDSPeo?= =?us-ascii?Q?6MzApkOOdWWRrLNzyTa9bvNhTInCYOY8ZgYFM5q6r6+5S2bB6MTbHY04c+i8?= =?us-ascii?Q?iYAhdFOxc4TPB8uf7yS2H9iEt5bjLLoxFn5G/Mep8/FtrGaArKbEzbvvEiHt?= =?us-ascii?Q?kHFB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Ubp47zC+pOiDI2LZr+Nmuh/iChJxtd32Ljoxm8quAjkfiBaml7jbQskXYw==; 5:s3lLCf0QLlFA5RBDT231cGoeHDysGdTc92ODMvgIEdPCizMX5vVdQZaaMfXLqlqf9RipvP9Jv28qUOuR0x0n6jJ8ZEGwckXg6qA+UjO82I5D8uEqPdRJpZy6a+tJFKUaBIIxNmeHKs5mHrn1CqJGdzTJOBZw8XCTwHjY4YNZZvM=; 7:kTg0JrVXa/cNHV2tD6bRz11g4WLQbVteNRV5VkAeDJAhr9aiAIyte9xa0oiHv4x4VPVNs/BB3Goi/Q/Bqvu1XDJJJQvx0L2xzLXMLNZOinBUFoEjN6/O5rBeWksNyEwh04irs5Kjn0+VI3COang8Nj+nBIImZFoktqyuTyhoXxlhtoqGvFBd0CVbWIbao4TrzkeXMdmqwZikGyeV+JhWWu8Ux6raHek+3ycUxzAA7K87TJW9f62pF0zSIMIXT3ef SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2018 12:26:47.1289 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd4e2f7e-14c7-4f0e-a9bb-08d6253da965 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4685 Subject: [dpdk-dev] [PATCH 2/2] drivers/crypto: remove double assignment of driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2018 12:26:50 -0000 Removing double copy of driver information. 04664e5c8346 has shifted that from driver's probe to bus's probe. Fixes: 04664e5c8346 ("drivers/bus: fill driver reference after NXP probing") Cc: thomas@monjalon.net Signed-off-by: Shreyansh Jain --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 +-- drivers/crypto/dpaa_sec/dpaa_sec.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 2a3c61c66..d5342a0ea 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -2843,7 +2843,7 @@ dpaa2_sec_dev_init(struct rte_cryptodev *cryptodev) } static int -cryptodev_dpaa2_sec_probe(struct rte_dpaa2_driver *dpaa2_drv, +cryptodev_dpaa2_sec_probe(struct rte_dpaa2_driver *dpaa2_drv __rte_unused, struct rte_dpaa2_device *dpaa2_dev) { struct rte_cryptodev *cryptodev; @@ -2871,7 +2871,6 @@ cryptodev_dpaa2_sec_probe(struct rte_dpaa2_driver *dpaa2_drv, dpaa2_dev->cryptodev = cryptodev; cryptodev->device = &dpaa2_dev->device; - cryptodev->device->driver = &dpaa2_drv->driver; /* init user callbacks */ TAILQ_INIT(&(cryptodev->link_intr_cbs)); diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index f571050b7..21c3eb622 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -2316,7 +2316,7 @@ dpaa_sec_dev_init(struct rte_cryptodev *cryptodev) } static int -cryptodev_dpaa_sec_probe(struct rte_dpaa_driver *dpaa_drv, +cryptodev_dpaa_sec_probe(struct rte_dpaa_driver *dpaa_drv __rte_unused, struct rte_dpaa_device *dpaa_dev) { struct rte_cryptodev *cryptodev; @@ -2344,7 +2344,6 @@ cryptodev_dpaa_sec_probe(struct rte_dpaa_driver *dpaa_drv, dpaa_dev->crypto_dev = cryptodev; cryptodev->device = &dpaa_dev->device; - cryptodev->device->driver = &dpaa_drv->driver; /* init user callbacks */ TAILQ_INIT(&(cryptodev->link_intr_cbs)); -- 2.17.1