Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5946893yba; Mon, 13 May 2019 21:53:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHpPOOBJZVcJxjylqSWVwfvVIZZoZOUvc6ubHk0zR8Z6E9xpC0WmEuhiQEbEIRMqCnoRTL X-Received: by 2002:a17:902:704c:: with SMTP id h12mr35410170plt.270.1557809601020; Mon, 13 May 2019 21:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557809601; cv=none; d=google.com; s=arc-20160816; b=cl7VuyF61MFQ7LUzGBGsnbNtzqvgLO7fvRb/wfJ5KDuYUUxtppN0E37rnnqJ5k189b WKISglBLt64+jQnS6hjb174v7c2F6UA5kZ2TNeBWRcLYaiJaPnq7V7jkRo3OeCtUv33U iWAfE0/71hxAHzK2XAk6VaEVn7AxK9xIXNLrYIhP1mNHtHRsfAX6iSPb8Ir9pVrkim+5 HPQDsdyL6nTdgp3iFmY3SFDpeRv2uqSLzKh8yW84ot1fjCaLyEE2dKfTUaTZq6d9VrZ6 I2FT1OWem4vY6Yrf2fxegDuFubZU4kezJ7OCu0YjyKPOC0Dai97STyynKp83CbHix+eC oB2g== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ahY3PwDdvXvvZ3EwGRlFE5BFyjFOgSVg0fQHVXgQfc4=; b=y0O8iAsY0fu1PHMXNSMRkp7GjRAxcOSJmCLeyOdvALs5AWDA7tRCFokfNjoiUBAGZQ vFGoCvh1XZycy7Bda7NbeLkjxGH1N453AgtHvytVJDSVMB8AuSCWirx1ER15/iQOTCU6 jIPS/gydWvVI+1hFALp8fv7KYlSqxgjEG1cVY77qwxjUZIzanYgnZkg8fKugCa8eeS0e zJuP4wMkEpkB6+3+SOT+55N1GXxza4XeuVeDr3QioUypYXPs1ArUfEZWv3mDXhn1OXet X/Znr75JUkJi8dZpDAGJGZ/Z5VNHBkWLU8w4FNVKJtmSyzL6jUZXuYOZKyRU1nFISbVe LreQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infinera.com header.s=selector2 header.b=ZMoyB01O; 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=infinera.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si19493744pgb.427.2019.05.13.21.53.05; Mon, 13 May 2019 21:53:21 -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=@infinera.com header.s=selector2 header.b=ZMoyB01O; 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=infinera.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbfENEvk (ORCPT + 99 others); Tue, 14 May 2019 00:51:40 -0400 Received: from mail-eopbgr720062.outbound.protection.outlook.com ([40.107.72.62]:11027 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725965AbfENEvj (ORCPT ); Tue, 14 May 2019 00:51:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinera.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ahY3PwDdvXvvZ3EwGRlFE5BFyjFOgSVg0fQHVXgQfc4=; b=ZMoyB01O2yYs7tKRHoQDbos461ACh2JQZZ6EJHApFP5EF0cVOmpy5soxX7NePP53R1/4gqai40ieFLp1DJhA2RC8SCd1Uriq+/Fttt4LntvJ+En81Lrp7UiZeX9u+yzQn+Ox3QBeKp02kOs/9YZYUMJJh8H/sGNJEDLIe51Oo7Q= Received: from BYAPR10MB3541.namprd10.prod.outlook.com (20.179.62.206) by BYAPR10MB2648.namprd10.prod.outlook.com (52.135.217.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.22; Tue, 14 May 2019 04:51:36 +0000 Received: from BYAPR10MB3541.namprd10.prod.outlook.com ([fe80::bda3:184c:7f59:f7ab]) by BYAPR10MB3541.namprd10.prod.outlook.com ([fe80::bda3:184c:7f59:f7ab%7]) with mapi id 15.20.1878.024; Tue, 14 May 2019 04:51:35 +0000 From: Joakim Tjernlund To: "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "leoyang.li@nxp.com" , "roy.pledge@nxp.com" CC: "madalin.bucur@nxp.com" , "laurentiu.tudor@nxp.com" Subject: Re: [PATCH v1 4/8] soc/fsl/qbman: Use index when accessing device tree properties Thread-Topic: [PATCH v1 4/8] soc/fsl/qbman: Use index when accessing device tree properties Thread-Index: AQHVCadY7pF1Pe9lUE2omDuEjFRsAaZqDhiA Date: Tue, 14 May 2019 04:51:35 +0000 Message-ID: <6c97a9105fe35d2afdcd2e481d109521c7acb235.camel@infinera.com> References: <1557763756-24118-1-git-send-email-roy.pledge@nxp.com> <1557763756-24118-5-git-send-email-roy.pledge@nxp.com> <1afd837287cebccfc1dd68365870d0f5d1cf27f7.camel@infinera.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Joakim.Tjernlund@infinera.com; x-originating-ip: [88.131.87.201] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 686b4a25-3963-426e-adf7-08d6d827d80d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:BYAPR10MB2648; x-ms-traffictypediagnostic: BYAPR10MB2648: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0037FD6480 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(376002)(39860400002)(346002)(396003)(366004)(189003)(199004)(486006)(2201001)(53936002)(66476007)(110136005)(446003)(54906003)(11346002)(14454004)(66066001)(66446008)(118296001)(8676002)(66556008)(2616005)(91956017)(73956011)(76116006)(476003)(66946007)(64756008)(86362001)(5660300002)(6512007)(2906002)(6436002)(36756003)(229853002)(53546011)(71190400001)(102836004)(71200400001)(186003)(5024004)(76176011)(256004)(8936002)(26005)(81166006)(14444005)(7736002)(6246003)(99286004)(316002)(478600001)(305945005)(25786009)(68736007)(4326008)(2501003)(6506007)(6486002)(72206003)(6116002)(3846002)(81156014);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR10MB2648;H:BYAPR10MB3541.namprd10.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: infinera.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 4PRavAMl7Zjm13s/FrQqJX8g8RklWNI5dUJIyjva8xPZVYu94PyTLe5txwL+8DTjzrL/jWG7BPQXam2qAsnN0aZ4pzTyqHl9xHuiYYLl6Gb7bNCcKPcUYXA1zqWJ3udoh6YoJuQsIW+sBuwE+k286mmhRzTpSdBAARtKubYS46lLziZqFC3+hjKzdlyydeyT8gz5znlWHNwc/d9LEjAf/dM8a6VapntTeDyNt3aOOYPjfAAG5ihcG79jzQHUIwagiTypDhrUZqQqFGSsAVBF2uWcO+CxtmutVEge5bznGYH56uCvtBc2VOWFqwfUwaRLH6ZYN0l7bVyWufPniGE+GTE8ypnWi56f3zAs2ALhokyzthWz2iM7K7GSSF/1YS5BN9rtcucJcHyOkjFS7/gv1I7Crhn+4zxCIKM0k5DzUtY= Content-Type: text/plain; charset="utf-8" Content-ID: <1FCAA9E0AEB788468E4FCE14DAE4DCAD@namprd10.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: infinera.com X-MS-Exchange-CrossTenant-Network-Message-Id: 686b4a25-3963-426e-adf7-08d6d827d80d X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2019 04:51:35.6904 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 285643de-5f5b-4b03-a153-0ae2dc8aaf77 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2648 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE5LTA1LTEzIGF0IDE3OjQwICswMDAwLCBSb3kgUGxlZGdlIHdyb3RlOg0KPiBD QVVUSU9OOiBUaGlzIGVtYWlsIG9yaWdpbmF0ZWQgZnJvbSBvdXRzaWRlIG9mIHRoZSBvcmdhbml6 YXRpb24uIERvIG5vdCBjbGljayBsaW5rcyBvciBvcGVuIGF0dGFjaG1lbnRzIHVubGVzcyB5b3Ug cmVjb2duaXplIHRoZSBzZW5kZXIgYW5kIGtub3cgdGhlIGNvbnRlbnQgaXMgc2FmZS4NCj4gDQo+ IA0KPiBPbiA1LzEzLzIwMTkgMTI6NDAgUE0sIEpvYWtpbSBUamVybmx1bmQgd3JvdGU6DQo+ID4g T24gTW9uLCAyMDE5LTA1LTEzIGF0IDE2OjA5ICswMDAwLCBSb3kgUGxlZGdlIHdyb3RlOg0KPiA+ ID4gVGhlIGluZGV4IHZhbHVlIHNob3VsZCBiZSBwYXNzZWQgd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