From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150084.outbound.protection.outlook.com [40.107.15.84]) by dpdk.org (Postfix) with ESMTP id 1F71F5F24 for ; Fri, 7 Dec 2018 07:45:17 +0100 (CET) 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=P7Qjy0cV33DXWxB6GG52cBAJSs+11g7xNXZieqWV1T4=; b=qPgaVrpgsSXuyKAuB3j0HM3+Fr1DWXaG94XykHTpwroDXSnr0pkbWRueZoAJ/7Y6o1ONcUa3yBz7uK/RcxvqzxhkEehozRu045wrhlOrp9ci8GLfSkUak7YVYaRWSMcKRCFH81j3NlxCV7mlUeeMG6BFy+Cf9McydS3mDFMTV3o= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB4463.eurprd04.prod.outlook.com (20.177.53.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.17; Fri, 7 Dec 2018 06:45:15 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::742f:3fda:5cc8:1e6a]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::742f:3fda:5cc8:1e6a%5]) with mapi id 15.20.1404.021; Fri, 7 Dec 2018 06:45:15 +0000 From: Shreyansh Jain To: Stephen Hemminger , Hemant Agrawal CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] bus/dpaa: do nothing if bus not present Thread-Index: AQHUjOY8r7kjlRdV20aVnDE7XXmpXKVy1tCA Date: Fri, 7 Dec 2018 06:45:15 +0000 Message-ID: <0ca0cba9-5d3a-7b1f-e767-4be589a1a777@nxp.com> References: <20181205220230.5640-1-stephen@networkplumber.org> In-Reply-To: <20181205220230.5640-1-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.142.187.166] x-clientproxiedby: BM1PR0101CA0067.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::29) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:71::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB4463; 6:wP39gGdG6ql72nUjel6TOS7rx4Nvfwek/ct8F10v3080YMiMtQqwC8ySGGv5gcNrICp8MfSRxKPdERdkD+NqLKmoLksJ0gifN8tHXXE7gCyUfz27V6KMZCqrLFMLD2bAUi0SwfMbYihM73UwjW2QkMs6OlH86bnCpcjkM2a1SycZkv8WTKzDAPFZKByVMVL8daVX+qUiBKQD05iDSSfBXI1lmJHr+F4X0UVucp6vCECKjNHfJ5NCEZyJu2Gue67zILFaRpUacS2j8REYrpyqDTIMVsRHhn2O5L6a2WOuqXgX1Gi8wEZrKVyRudzSpCJbyc114lfSYwrBGAIDIZ7fwkr/OEacN1VxhhbpW/YOxIKinGRDfTnk85ZYt1wXZkRJdzU2FCx0CYGptmus96J3qX0OV7h1cqETQLqx8u1G7wsmJc6K7L+yO73rTXWlRgqJWHszhMtpA37AmoZNl4LJOA==; 5:0nqNEVywdqgs/4IzekZgNJYi8pusRl6a43f5/07C7nnkNWhg+HJ0l7LHCpvqCU3/laZhenn9o9Bpf9r9ovHkS7xTg+uQqObw6ICeOSvLcAyTWu1eHOFM8SMCR3dFMNmhfa71Ag22T51YuSDFYdhxEly5gPJTft/Ra/SLSpAEzzA=; 7:ZLC/QXwFqvMIufIZypfL9+Ri/BZmOg4TQj2mTbJYiOUe7S1Jfvb82+KCTDKdsNt3N2l9iItFWaYhfUmZbXqaAxN0S2k3bFmtwkThzUXYL3SqOUPMUqnxfFuBt0Y3PIb19tUJrOiFi4vg09EfJP7iAw== x-ms-office365-filtering-correlation-id: 7af25fdb-7d81-4c00-dd13-08d65c0f8b66 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4463; x-ms-traffictypediagnostic: VI1PR04MB4463: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231455)(999002)(944501520)(52105112)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB4463; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4463; x-forefront-prvs: 0879599414 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(376002)(136003)(39860400002)(366004)(199004)(189003)(575784001)(305945005)(86362001)(81166006)(81156014)(8676002)(68736007)(44832011)(26005)(52116002)(76176011)(31686004)(97736004)(5660300001)(8936002)(186003)(14444005)(31696002)(78486014)(7736002)(99286004)(256004)(71190400001)(71200400001)(2906002)(6636002)(316002)(4326008)(6436002)(66066001)(105586002)(53936002)(6512007)(25786009)(11346002)(2616005)(386003)(6246003)(476003)(6506007)(6116002)(229853002)(486006)(478600001)(55236004)(446003)(6486002)(36756003)(106356001)(110136005)(102836004)(14454004)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4463; H:VI1PR04MB4688.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-microsoft-antispam-message-info: u6XmWtSrj4UFRon8zGaacSEIDxwxj3q4sDzSBaXrHF0tQYpaUGnwA8hLAH89gJqPWtkvkRsgvTZJD72z/m3O7xahM47AneiWNXqhCnhq8GHAibSSu6F9at3IlyojYabhE7MBPlqPWpKLyhWTQ8Mn3rgA6W+Q1YISoFlBPIWjBMi8O5xHdRMURwsfp7Am6mxzeZnubS1P3tEOhQpCxp+tZBt6fW9nffosDlzoDyx1thCAZpnI18facTrs474daikURymYTVwCL/P9Q4hHPGsVloTOyRyR7hmVYMr6H4CjCCi6kIAFt8GJdrn4opKQCEFSlywxwUDjj4duqlUXwnckgoSPTCdfkjONBuJqMiJ3M1c= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <571FE3E40D4ED04187064DBB3940FE98@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7af25fdb-7d81-4c00-dd13-08d65c0f8b66 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2018 06:45:15.7496 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4463 Subject: Re: [dpdk-dev] [PATCH] bus/dpaa: do nothing if bus not present 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, 07 Dec 2018 06:45:17 -0000 T24gVGh1cnNkYXkgMDYgRGVjZW1iZXIgMjAxOCAwMzozMiBBTSwgU3RlcGhlbiBIZW1taW5nZXIg d3JvdGU6DQo+IFRoZSBEUEFBIGJ1cyBzdXBwb3J0IGNvZGUgcHV0IG91dCBtZXNzYWdlcyBsaWtl Og0KPiAJZHBhYXg6IHJl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