Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2196776ybd; Thu, 27 Jun 2019 08:19:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBNOpEp3q4PoYq01Fy/GELh1J5t5qjTmoz1LEucYpuEnI6PMRU/h8tt7nsdY/vEldisMiL X-Received: by 2002:a17:902:aa95:: with SMTP id d21mr5118133plr.185.1561648776913; Thu, 27 Jun 2019 08:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561648776; cv=none; d=google.com; s=arc-20160816; b=FvYurqxB3wQwusr3+wo55yvWyVJkBK5nOuU9S0DoWiVpRzzy+tpQpW98avW8avD9z6 x3Zwr/ouW8Pn+CBVhnu/xR2lkf4xOsifJAWprcd60NwuYNVDr/Zx/cT+51whPYyfER0N BaoaW/IBztWDzK8TvMPmdJgFvxGB02xj0mspqu/nHtJV8oEeLbEjzf1WvvaAtxTCfgQo wAVE7PfSlWI43kLgKMkVOel4elrLa53zd7pqyqe4fUlCZGaIG2pMRRHpOm+JLpfYRh3g kq++oJLSpDLB7ALcglt0vYpVEYFTpRYSrp+qmd+BlG7ux67G+hNy1cVZkWfNTsRC+w/a RYog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:reply-to:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=yBouiMCe0HxcmNbAaeTUbmnGzYQrU3TluQCQL9haies=; b=fk2XKWwIpVjg6g/1sp6DD8Jhn4wi46/QrAQcIN0E1b1/+gfk0CAr75vjipD684ItBU 5dw4JsPfSSzPdfY2A49lYdwoJ9zpYPaIIvg7FTsxKwyOKg7wKqhMrhTQ6gximVS7xOEO eUEGZGdc5Iwt7NpnYIxadV9sbeSneePWPyVt2GArvWeaUJpmsDwGh8gioI6kx74gdriH timp6TwpEndITUcyHQGnh7Jq0LUFG/K9JMHki3lAKtFvKPmtj/ys+IHZ+eMcodO4tuTE xBo7YvTd52JUt0jr9vmxOfSwWmZkrHaIkspG7nhuHqqutTcDu31lBVQVtranDlxBJLLR vE4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qAagAjoT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16si5454074pjt.12.2019.06.27.08.19.20; Thu, 27 Jun 2019 08:19:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qAagAjoT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbfF0PRE (ORCPT + 99 others); Thu, 27 Jun 2019 11:17:04 -0400 Received: from mail-eopbgr20087.outbound.protection.outlook.com ([40.107.2.87]:54600 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726404AbfF0PRE (ORCPT ); Thu, 27 Jun 2019 11:17:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yBouiMCe0HxcmNbAaeTUbmnGzYQrU3TluQCQL9haies=; b=qAagAjoTLeemiK3fyzJ16nluljJAKGcwnFFwA6OMn85/tvNj8x2wp3PYDX8wTsn+NpBlLh9D2WDyjLVH4XAdoSZYHA+UsWPQ2bWk8F/TqhUkD5ZvMFmE6G1r4oSfCHyE1BYVZhszk1BMLOO01xylnqLvMsPg/n3gBbh9gPz661k= Received: from VE1PR04MB6463.eurprd04.prod.outlook.com (20.179.233.20) by VE1PR04MB6752.eurprd04.prod.outlook.com (20.179.235.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.17; Thu, 27 Jun 2019 15:17:00 +0000 Received: from VE1PR04MB6463.eurprd04.prod.outlook.com ([fe80::a5ca:7c9c:6b18:eb0a]) by VE1PR04MB6463.eurprd04.prod.outlook.com ([fe80::a5ca:7c9c:6b18:eb0a%6]) with mapi id 15.20.2008.017; Thu, 27 Jun 2019 15:17:00 +0000 From: Roy Pledge To: Leo Li , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: "stable@vger.kernel.org" , "jocke@infinera.com" , Roy Pledge Subject: [PATCH] soc/fsl/qbman: Use index when accessing device tree properties Thread-Topic: [PATCH] soc/fsl/qbman: Use index when accessing device tree properties Thread-Index: AQHVLPteklEjY5ksH0SDrbr59mNdSA== Date: Thu, 27 Jun 2019 15:17:00 +0000 Message-ID: <1561648603-11589-1-git-send-email-roy.pledge@nxp.com> Reply-To: Roy Pledge Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: DM5PR07CA0062.namprd07.prod.outlook.com (2603:10b6:4:ad::27) To VE1PR04MB6463.eurprd04.prod.outlook.com (2603:10a6:803:11d::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [72.142.119.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bc22392e-8121-4655-b9e3-08d6fb12806d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VE1PR04MB6752; x-ms-traffictypediagnostic: VE1PR04MB6752: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-forefront-prvs: 008184426E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(39860400002)(136003)(346002)(396003)(199004)(189003)(26005)(66446008)(66946007)(73956011)(66556008)(64756008)(52116002)(305945005)(71200400001)(71190400001)(66476007)(2906002)(7736002)(68736007)(44832011)(4326008)(186003)(486006)(110136005)(54906003)(8676002)(3450700001)(6506007)(386003)(8936002)(102836004)(2501003)(81156014)(81166006)(256004)(14444005)(316002)(4744005)(6486002)(5660300002)(43066004)(478600001)(50226002)(3846002)(6116002)(14454004)(53936002)(2201001)(36756003)(66066001)(2616005)(25786009)(86362001)(99286004)(476003)(6436002)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6752;H:VE1PR04MB6463.eurprd04.prod.outlook.com;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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 0Db7A368V6OG2KQX9oATZntO4a+X/nGoGeihLCwE8OnGbUYSggfkibQULiAPzgS+jZ3eZRbUAkBJWjEiqM63w2e2gBCvX67PY58FHaJ15kqPQqnk1BggkHu9SS+ldoqo6EVMKpkEDadjVQ6x8pSiKTDMSKc7i6uVjQDYeu8jheylUu4CGYwrLaOIld2309hUIkT+6VFBJmEyxazaGQd/NBNwlIeRb3U6oQFtPYRnL7uU9RisLVxGEMy35+DiFeCBUrUrjZpEKjWchnSuF5m0HKwy91/uLN8phAk8VZxtv0o1Y+XadSJ5WpFPLjXos7mQV1+1hCHoBhDzX2kPv6P7EBoTzeaBtyFV41Q8znQ/ScN8BrWlFJIAfiDPqdHH9Sr2vZGE+7y3sKnmtMT7InbR069GeZXUaVljm4RyTw1tIs8= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc22392e-8121-4655-b9e3-08d6fb12806d X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2019 15:17:00.7768 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: roy.pledge@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6752 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlIGluZGV4IHZhbHVlIHNob3VsZCBiZSBwYXNzZWQgdG8gdGhlIG9mX3BhcnNlX3BoYW5kbGUo KQ0KZnVuY3Rpb24gdG8gZW5zdXJlIHRoZSBjb3JyZWN0IHByb3BlcnR5IGlzIHJlYWQuDQoNClNp Z25lZC1vZmYtYnk6IFJveSBQbGVkZ2UgPHJveS5wbGVkZ2VAbnhwLmNvbT4NCi0tLQ0KIGRyaXZl cnMvc29jL2ZzbC9xYm1hbi9kcGFhX3N5cy5jIHwgMiArLQ0KIDEgZmlsZSBjaGFuZ2VkLCAxIGlu c2VydGlvbigrKSwgMSBkZWxldGlvbigtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9zb2MvZnNs L3FibWFuL2RwYWFfc3lzLmMgYi9kcml2ZXJzL3NvYy9mc2wvcWJtYW4vZHBhYV9zeXMuYw0KaW5k ZXggM2UwYTdmMy4uMGI5MDFhOCAxMDA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