From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20055.outbound.protection.outlook.com [40.107.2.55]) by dpdk.org (Postfix) with ESMTP id 985011BB92; Thu, 21 Jun 2018 11:45:43 +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=oDLQcWHeu9ZqOfzO0AEGeOi4gUOKHLaEPg9SYPpbTVs=; b=gl16Xiid5TXp9Aw5PBO+FSXXegcBm32Kct8yR8LYg59abi4loVXiufF+H/HVchlAPRkt/xoOZo7W6DidF3mCxmt03TdI9u4KIcF2pNdFDUfPRPiDZOdueeIa+gMX9Sa4DUFOIS2NYT5uinpWZ0G8k2tpNFPLgfBuSGjpbsRf/DE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.16; Thu, 21 Jun 2018 09:45:40 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Alok Makhariya , Shreyansh Jain , stable@dpdk.org Date: Thu, 21 Jun 2018 15:13:55 +0530 Message-Id: <1529574244-18997-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0035.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::21) To AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 89323fc5-e25c-4f6b-85a0-08d5d75bc094 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0755; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 3:m6oxCfQVyLjnvX2Go9iXYxs34ETLTGRPC8tDY8xRwQ4C4eaJLtCvNG7n25cpYBFsJ1t/fUsWnr08A4mBFNDzpAI84NkZvL38VT11w5geGCfP7cucxwPVnZRJvArLUbEJs6/b0ot5yTJzqBk1Y6RRT64FYb1tImz275RcCoa2K1+gKc8BRXCklY5+9m6rLflhwJ7CG4nZTkjZV0bUqtBvxUBlI4Ah2ibdT7c809k0AXrQ9uDmw2Z5UCSC4Fex++0M; 25:osCx5AhYHtjbZblpEyr+0Ewqmcn/cAzb8T+QXBCssD63M+LyBRVi2hdSX/bWi55dYyQXg2fMnq5CRrLfLwiBrIixqXZXCgwJLVEq/LsjPiark0FGsqR0cEjl8xeN2pkDi9lUuvo1zxWO5Kv2Rm7KjEha86qgE/qXK7tNN7R2HGN8SmweVzdLcZQvQ8wCv1ILsyaAW2400qwB44DryEqSuWfvm9E4grKaG78kupFl4cayEjFjrl+LLTiUgW/PwfiMR5CoiFujq4RjKDYPX15zGYkUrE3gwKQ6KlKblsBV8a2aDGMDQAjV33CFbXYOIq1MORdM/HZhQ0TdA9kkayKw/g==; 31:QrYaHqebRRIBoXGLAIVky4SbotTxxHFIPbCxuLVcFsJRXHGcDSwlnr6kPEKDjkK4KC8xm9t71ofY9AL0AWIiG6hqRuk+wX9phWoK+NmVp55Nensy46fMKWvacPULN7dDBkDtBn19n3KNx37jeik9cjr23/wutyEQ68umk6HzLK2ME8LzS4erhbDJPO2n8yhm5C4EWD3anYAoGjThsO/Fwszlv8qu4uwDZl1qU0Wrn2Q= X-MS-TrafficTypeDiagnostic: AM2PR04MB0755: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 20:3zWUJJEluJQTgbxHaR9yTNlDECiAfj5Ya6E3cZlxC6XiJm1tqzFkJMZwK3AMj2AgW7MfGHu1tHd1n19wyFopIAVLmGhtJTAjSL3Au6JvGZoAtK5gqzHSBERjZe9s9C5MEIM9a5EKtd3TLuL8kXy+7cQ+OLcpzDBzIP7mNhlIfEDUkLMhb2hBiArbaVE7hihHbFBNMF4syhd9k+evuL4V4gdEWPOj0XK4x1q+gXNAA9jYQ5am/0DTYoZupL6YSPo41V/mQbN69XMtkSrIjFjmjc18RwdmMjSdmIO69+Yr2c2Cphj/VjXO34ecRvoLMKeBB3DI3zWDJQU96noDGGXrCPghmuAN/o1diLzsPlnQatM8ZYpClq+swz8xYELoUH9xbpJZocsY2bXvIUnc9Dj7R8wH7i74MQu0llbS5Vg34J24yWX78QSLJckmUMj6f/jqccjACtwgvhV1Za5ViE5VI+0aBohIQojBa8LXnocNJTys7UsttFxm3i239tLqG4kx; 4:Ge2NNC1jqHk0yV6xlzbnxmhJnPVrUQAugYsqpBB3/Wd0pWDSZVZfZjn7Uf+/2xVo5Ld/eyB8eLvQrM31iFjIbT4nfYhR93tjfutx5+K5Xgl7EnVL5tnEMbmwPujO6udcwP22UrAdDnD9R+YaYWSAD+yeDSA5A4mImtTobCv6ylHB6TEkGWCWD0c7XIB42n1VzOM3DI+zvu8q2R7/KBeHw5YK91bFnisEhS0HRmjiejgYYylDHGkWl5Aypv0uKqoEuJcKn2h5dl2EmX8DZVA3WXz8sbSh8E56eKGcJ6IrRFoSKdpxaoU9hJhzoS7scDnr 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)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:AM2PR04MB0755; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0755; X-Forefront-PRVS: 07106EF9B9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(39860400002)(346002)(39380400002)(199004)(189003)(50466002)(6116002)(6506007)(55236004)(2906002)(6512007)(478600001)(51416003)(48376002)(52116002)(3846002)(2361001)(186003)(26005)(16526019)(956004)(97736004)(2351001)(5009440100003)(386003)(4326008)(8936002)(8676002)(476003)(486006)(7736002)(81156014)(81166006)(305945005)(16586007)(6916009)(6486002)(105586002)(106356001)(2616005)(47776003)(53936002)(36756003)(50226002)(44832011)(86362001)(68736007)(54906003)(25786009)(5660300001)(316002)(6666003)(66066001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0755; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0755; 23:AkHVEwRV5WXbxb6F59tQ2Qxo8rM5PTHhW6TryEGKB?= =?us-ascii?Q?avwl5T0+ECD/GUp57ikrFYFarPPlnT4Xxna+Qb/kLSASFudG4kKa/C0JuE0s?= =?us-ascii?Q?fORK4IvATskxDcAIQrvc07N6/7+GF6pzKVzZuM4Q+dO0upghHmS5g42odu0c?= =?us-ascii?Q?Fegbrb3XK3eUh7oMLQ6NaEf0lSYnuKubi+a42oYcK7OnN9IjpP26by6SwevZ?= =?us-ascii?Q?4Yw2u+qTcxN0cssSpIfIue+TvDnM/J9OfRzZ7dkmerPVMhAJWY3txtEIM2qf?= =?us-ascii?Q?HXEiCUB4KfXo6L2vR9ircUge6g/l9NGRwH0lGPhlCAhuoVmQCtybNKY3yEmP?= =?us-ascii?Q?8n4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dNSmYQPjr6CWdabKPhymoMX5lEZFfM67s5tIZVe/R1Ixnhxt++Xds=; 24:as5caMleyNpSt3iqpJeSwwp3WQbooX/NEsBOSWMD/mS++RPkomTImR6kS6MOtRf90R5rqRI3JVIA+k9Kq7QfxBxOaisBbsLNeGGxTYkY1Vs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 7:Symri7mKzYnc3lPaTGXC22cGeYgwBbzKF5xiM2VYUOsWFi/KkjllpSEoXlow47VD+YAeIfZTUlgRfPKqQi2iZn+clFUQUPz83OfYoFixD3PdqegJKT+yTGULcHR2F2qVz73ID4ZD23seIOWgnlSrQM3BODNF5SEMjtt0uDl2XvwVMIjRijZ/iLycM9C6ceRi0YkNly7miFmyasHatfCft0xUYd3FgOV+bx2AQym709A1yzNsINfaArYKHcjjOQU9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2018 09:45:40.4228 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89323fc5-e25c-4f6b-85a0-08d5d75bc094 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0755 Subject: [dpdk-dev] [PATCH 01/10] bus/dpaa: fix phandle support for kernel 4.16 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: Thu, 21 Jun 2018 09:45:43 -0000 From: Alok Makhariya Fixes: 2183c6f69d7e ("bus/dpaa: add OF parser for device scanning") Cc: Shreyansh Jain Cc: stable@dpdk.org Signed-off-by: Alok Makhariya --- drivers/bus/dpaa/base/fman/of.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/bus/dpaa/base/fman/of.c b/drivers/bus/dpaa/base/fman/of.c index 1b2dbe2..eb55cb9 100644 --- a/drivers/bus/dpaa/base/fman/of.c +++ b/drivers/bus/dpaa/base/fman/of.c @@ -182,6 +182,11 @@ linear_dir(struct dt_dir *d) DPAA_BUS_LOG(DEBUG, "Duplicate lphandle in %s", d->node.node.full_name); d->lphandle = f; + } else if (!strcmp(f->node.node.name, "phandle")) { + if (d->lphandle) + DPAA_BUS_LOG(DEBUG, "Duplicate lphandle in %s", + d->node.node.full_name); + d->lphandle = f; } else if (!strcmp(f->node.node.name, "#address-cells")) { if (d->a_cells) DPAA_BUS_LOG(DEBUG, "Duplicate a_cells in %s", -- 2.7.4