From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0060.outbound.protection.outlook.com [104.47.2.60]) by dpdk.org (Postfix) with ESMTP id 110391B4CB; Wed, 4 Jul 2018 11:45:29 +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=jcXkYNlAF67csdk+MJwt/CNv5quYM5MzVAD92xcBcU/Bl3ACyN82gXGiHy+Wck3mZklLpZAiOzo3oABuLpXYqXgNHN6Ox9+LUb5ZEO+n2IaDVOBWBdu9RL75ujGvtsTw4QMoEqxvGPOZGwBVXnl1lRrL2Ur5D/rZvBdcb6wvOLs= 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 DB4PR04MB0765.eurprd04.prod.outlook.com (2a01:111:e400:984d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.25; Wed, 4 Jul 2018 09:45:24 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: Alok Makhariya , Shreyansh Jain , stable@dpdk.org Date: Wed, 4 Jul 2018 15:13:36 +0530 Message-Id: <1530697431-1244-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529574244-18997-1-git-send-email-hemant.agrawal@nxp.com> References: <1529574244-18997-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0008.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::18) To DB4PR04MB0765.eurprd04.prod.outlook.com (2a01:111:e400:984d::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: adefa930-3488-43ac-fc1f-08d5e192de54 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB4PR04MB0765; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 3:BZGDdgZZaSVIlGpjB3FNimMMBjE4BNaEwz1H21MChdldNIaFvsxnBbh/UIvB6AHqmZXOnoaEQTbZa0iG0RAxQVANuHszzZ1+yfcfZN4HngDb/10zpxJ6Pu92JuqSXKSjnE1dC9Bvk/8fmEoHv6P0FG8hj6RrGf8n4FQTptFZJHgKfs71duE37A76rwxJKt7YjpIzmj22KeAvNXfzuu96hBeC+WQmCXN0Hq04BYRrKeD1HdlBtJz5phqm+g8lE4t5; 25:eTIED8iX3kY6HJnbRGfh5W1jnE4QbyduSfRYMeBNYFfqqJ7BdyLBgmfs2pNWDAYiZc8s3Eb4hIE47S5vHspANkgDmKWmHCIjxLasV6uv9KkWvs8i8t91SxmsqwluqnQ3+Yc0olsFjlylR294bcMKea8Z39IKhHTxNB3ISwpgwC0+wPM3pBxrWBELKOFGWTlUL0y3/CGfjwzubnr7kzyW06wxL2iRmVXgvlgviu79T5bBdaYsvsmCBtmGZ2gicDPVD0hbmh1TOtJ8d5asgJ8ZqM1Bf0uaSCnwW0Z5myJl0SG0/BsYtFQzjHHeW7Bg/zKxDaCQkmfVJOCN5k3kMQvMhg==; 31:oizrCAxGXr2oxyyQTIhtsEJr/WZHswkBI8+EuutpKnvXPJdSv1hiVldPZF3YwcvpxzSizvMoSU+lg0IDbpLNXIX2zwVy0gg6naj0Yx4TAc46ZABXzNAt9MQTm5mInIA+LNaZSTKc2XGdlB3ixXU1b3Zc/buOTMoLm1E6dW31CDvKIlGYN/OSac+Mr5g3awaw0eb+/4+pY4QD/1j8TR2cmMuRoUEEYqsOXAg1c3gF9FY= X-MS-TrafficTypeDiagnostic: DB4PR04MB0765: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 20:3KdM3rHwK80hkYegX4ihavrOv6S2jZwZS83XBIzEbJCtmE9FvfxWY/912gzFSYJv0GdoZQAb++cA9Q2QGU9YgQ95ksFoVTv/O2d2BJUxf76WytHSciZ9DDAUdTM8Ig2AZeiWRSpYDcZ1lZh44Lkp9Ma4avc9oHARxBzAkMk3lhJvhxR6RdklJ8iljbiCxdG2VKxZ/igEB6eiIO2YYE8GURyDcXQ9+NTlk7AhMJe9NPIB3LtBZi4qDfM+qvok1yZSDywVOKN8EoU9iZ8HnswvjNaW4AS97Fywfp62UqQbLu9URIeK3nrm9tEJCBKrTf2547odhBs50BfcktcV1XAfdBoHospJ2uVELP7wwi7ROjdCuotZm33gcuxw6K5cE/e3xSHTlrsF+yfcyss48nnZawxJRnn2td0YyESOMsj2ZeX7hpQ9cuG2INOXBUtH3lbi7IgNPurgewesVcWW/Ui4LKujrrrHwDqrQuCt49tCl/08eRGVqIarx/g01/N4gS5c; 4:RafSVOHhJF1M19OujfMjo86KBD3UoTTLHcYT054AUmVi+ZVFDnk8VG1CUabj+7XBg5L04t7eOixhzubC3hBTi+K85cX3iC5+/I5wjccjMdfy8IfTqRV7XU++rQeibQbhEYWsQLk3V3KmqpGepY92MUtS2NaU2ukFUrcAXAGrhqsG85RqsLuCvJu7Us7BrXdTuzxBifUsmiG7GADSi7liweObPwqT+JkPjYRY43vc1dH8f2S4imXre31iRW/eXf3yCVFf4y2TCteVpPwsz2fUpRB2r6pQz39stmXC3q/j2rU1VK9ve/FgVcNdDWN7HPnR 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)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:DB4PR04MB0765; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0765; X-Forefront-PRVS: 0723A02764 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(376002)(136003)(346002)(366004)(199004)(189003)(6512007)(11346002)(476003)(386003)(6506007)(4326008)(55236004)(956004)(2616005)(5660300001)(54906003)(44832011)(105586002)(68736007)(16526019)(53936002)(446003)(50226002)(316002)(6666003)(5009440100003)(36756003)(16586007)(2351001)(6916009)(106356001)(186003)(86362001)(450100002)(26005)(6486002)(97736004)(305945005)(81166006)(7736002)(8936002)(66066001)(8676002)(478600001)(25786009)(51416003)(486006)(76176011)(3846002)(6116002)(81156014)(48376002)(50466002)(52116002)(2906002)(47776003)(2361001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0765; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:3; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB0765; 23:aiLZFzn58nuWAhd6rqprgppl6BjdHfKbwZYRmw1pd?= =?us-ascii?Q?tshF978/Dzdcieo/OTimFbKEvqEM0akUsx2fLqGJywuSEWm4ANpihJ+mEXjO?= =?us-ascii?Q?YWLfi9lXUOrRkrMdgPOER6MHUGhf0HSKj3Rj+c70eTkSeGpmMw+2WhLMLjLv?= =?us-ascii?Q?uvXvjPP0bLOmXgM5WDDy7NbtSC/OMIgVDxg+jN+Q6iZhH+uphaGlSD9X6OhO?= =?us-ascii?Q?1NhTGq76pu59WZZCnufCPIOJT4M3KQ3Q1V36BOUuHp/l0IZVQL8TgYseHrQ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NOj7S9VnAF/6lreE74T10Xu6mcpzSb79or2C?= =?us-ascii?Q?TYTCbc6wbJ66PeXk2z1Vo5Ctas3w3j9Re7wPr4jkK2IFw+VzcVAV96mU0lvD?= =?us-ascii?Q?xOl0VzxCojIxFVDYeZb/raTlqceif06uHUBJB539Wb08xomrrQNfgRDstsaR?= =?us-ascii?Q?caSkw2FY261Oq5vT1L/G5JLc/v2AjVSY4I+NFbthbp4aFLtM9FWKuCF2iHLQ?= =?us-ascii?Q?mwkBw=3D=3D?= X-Microsoft-Antispam-Message-Info: CcxHIsouV7WZ8JTZr+bihBM52066VFoYgVg+T0ELM6Ckv1WysbMiyP/l+xh7TAACt0OreBGySKVcvpRVFVf91rbxYIywFQ6b7ZKCnS0GqxxXp6ZYH64yuLscC8fZl3ZSfQhsG3RfEIHYsCEcyxpTEoaYWgQepwFli4J9Us2cPI/V0RsWDDn/OpI0cmUugAQGmIwJwdPBSrawVNQsFJCISJTndtPs2s3pqJp5sqmfpcS7PHG4DRk8lLRASRTHHjToln8aBqXvRHJZtagtV3jGRocyZ7H3rHz/YdfBvkcnAc5NEP9f/XF4shy8My3G4QPO3X/E8mjJvjdTO5upB1Vf/TMgb/+vQ8b4+vFq6LColLQ= X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 6:wbeVqyIVqe05a+iV9VmudryW4iL30+n7EqZlO4kDOqGufzDRIWuj7SD+n26MKwX1i7QxUbUHafAR0ZCwFlgztXH3LGofINrkRQJPNNmD/6c6Iou8DKla3x5WnMkQl3EBBkgj83/Jbo3LQg0mPncVeSm/H0wNoxRQc2Ne4DS0wJ/Ius1ORe1sQogbL7mOiVmUFqoVpuUwU45RO9Ukw/Jnk034BPgvv0Buh2grHgux7W6iTV2siADDUuLKd7aReWKPyk4VBdkwgzf78B6hsSbZ7P36thjdZlMYmH3PrBI4zUligssNsPtumellRgDJSNimywXj4RsQf1gOV7ymHFttKpljjYcnfsT87tBKW4Y+WijhJqjlGqE6cfKYv7MuWw9YevuUDNFvV0BmOSCpw9SpyYu8iWYcr8Jk63KTmheFF3yk9zCz7yDdygXvq9XRrTolLPhVgs9YOgTPrLN3wnz20A==; 5:oJs749eAR2zGScrfv/hUDMLWsC2kLIdRP/6UfJMnKD1LE9kSQxA2D4uqKfsIPw3AfFKn2NkoEchPrrolValBDnOZJZ+BRzPjjmkuslg3qFM1PVwxioKzm+a/f+yIUcR6XbIqO8ZAgGIsXn7bW3aP0rV3qRNcqGQU4lQb2jsbEN8=; 24:K28ilvM2PDbITZk0EW8DKZnu23MCs+Pd2NqZO2+Zgxcny6gyWB/JP/jVMcFDYfACsEN+ecFfrjxCyv0NJ3w1kU2REsqHbb/gx6nRrumCTdE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 7:HAoA/nDa4qoLO4ScGxLyvon5G7JlzJRGYuiaW7d2j26Ms1LsVfBUjCwr6vB2ZByQrz7zoDWYdwKtdE44rgGfpcau8XyZEBDhtiOoziX0Pe4/0RFKD1TabaE32oP6+SI+Ca1ZbS28egfvZi+RJHIx618xsum9f7pmz/r/sqpHHIPaDCC+I8saIE/K6bYelEhi1u+Ig949J1D5xj0tHwEHyDA+/DWXAsnVvTmINvx69Vcp8YEVtb9JwoewCnJMqnyL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2018 09:45:24.5052 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: adefa930-3488-43ac-fc1f-08d5e192de54 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0765 Subject: [dpdk-stable] [PATCH v2 01/16] bus/dpaa: fix phandle support for kernel 4.16 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2018 09:45:29 -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