Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3163306pxb; Mon, 9 Nov 2020 04:28:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1sh+tyO42eAE9XYLao4B/TU9hYIuEj+DkhNZMzie8K9kM//Fi5Sh+et2+q3fqHd6jBnRZ X-Received: by 2002:a17:906:4753:: with SMTP id j19mr14042117ejs.65.1604924927177; Mon, 09 Nov 2020 04:28:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1604924927; cv=pass; d=google.com; s=arc-20160816; b=OUPNgy4CqTO+2NdErAP3tDu9nlAdNN/PTFzxfPWZ1OLNouuEfKi2MSbHxCAJAQS22l XRzO1XACpfDPgUEoTFcOO8T4Yic7SbM70I4O/iZ3jh6dAQgWUhofpHm3pTRgddJt/7Qs woYw0jKuSKKBnMLnCgrw49nL/47tlLBUnrvq2gfcGvn5w3LdBTwqUZlaTvdik95tjlXF xedo3MhAuCev/XXbQf7vn1L7qM3Ms8AzJOJGrPn1g3SA1o5qaUBTbC9nAbsVrKFKP3qQ vFKy8rGZ8sqMFhgs37xWpGDpTp0J9aVlj8DOatPtEDVHdz5PhQF0a2uuViAT+rH6vZG1 /l0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=XlpWIAJ1a/wYwqX7X0qyHhu8O0QJ31XQRYGpe4LAqB8=; b=1EmfkWyXfcjDEdIwLG6MsIMi44U8RbWLDdl3YE4AdDEJybRvM5oN2Ji9BtUZ/m3HwN Jp+crHKFNb412z/Lqzda4LThizvHuCWo4/ixCNDx2IQZ7jPrYyrznmu6l2ETXCapli4P 7GytR6zv+/flJ5RnQP7wubQpIo7ONiqG9S7pUUcuH/u8n363TrhLkmzX99rljF1KC0LQ F2IP9TJ/686mcLgTdgIiQX3e9B9tUF+ZTTUx606qxW+b9Gx1c6/nXmi+hBGwRM5vhEV5 sREB4Y6+1XYXzOlpXlFgD3Sc5lpy+JiSoGwueW02PvJidQ+/n+kJJg86oJGMIXQ7NfEY p0Yw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=NO8B9pLz; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m11si6969976edl.523.2020.11.09.04.28.23; Mon, 09 Nov 2020 04:28:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=NO8B9pLz; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729366AbgKIM1A (ORCPT + 99 others); Mon, 9 Nov 2020 07:27:00 -0500 Received: from mail-eopbgr40061.outbound.protection.outlook.com ([40.107.4.61]:41206 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729045AbgKIM1A (ORCPT ); Mon, 9 Nov 2020 07:27:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EEuOxST8Rj/v2PTJLEjrd0Ws4mxgXA698q3iKnh5VirC6/YUqXolf5GaVdaf6mp8unwJAfK7y0TAQmAF9w6+S5FeOO52Be81IP3jIfgv3gyMcQGUTVAj498e86lBFb5jubyo3rpau0fnS48cKBp7Gjgxb7Dr9q5otC2PCQgBlufNMB396JmWpjyWt87SZDl8mdvqXRyUItXBXJTIaqYQwUNLDSV1IAjf6oedjHCJP68Y1z2JtE19R1ymlxZDo0Jb4S1NBPHcNhschgPJOhrB5xomSjPgEy3Ksg0EefuRt1D6bSUAGU0/kzXu5oVb43aCaBf5xsJD4Yu102X4insazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XlpWIAJ1a/wYwqX7X0qyHhu8O0QJ31XQRYGpe4LAqB8=; b=EUxl2u5YvkyErXSQSY+sdbgcmPbNHdQNJL5GxlI/se6KYp3rYL9cn8QThZbpW+/5LHoersDlksGnhnB4r6LdBfTuL+cpDG3A0tAy34wTQBIy9CCbmmh5mlc8tu/0f2/M1Qh5v4QsK6wF6Y3+eSXQPgR+7IPGct1xbkZNkKsyO4/XXPOnVqWrIgS787pHD7YaoKXaO5pu74hBrbvBVSciC7ro4VbgwAV9vG675wI18JyzN1hvD902xuTbUmEej1FDdZyP/IOwihzkEKyuQs2gz7sAW/sGvCnCgEo0nislJ5jA4gnRDqzC+MFS8U5PMVFmlJyxzACRU0RDn0Y38ddLXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none 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=XlpWIAJ1a/wYwqX7X0qyHhu8O0QJ31XQRYGpe4LAqB8=; b=NO8B9pLzMOZKo0FOgMQiDpQtCdMamH0i8TNKHvEkjYBR/MswiLAE/CVtdAh/twBELylEuGyTZGqfa7npH/22TJUYFUDD6kpqYRiyy3bS1eP9LqK0g9dThu0FAczH3sHtkXd1zwK4UxqOLPIefy5wV1gVsZ3izmjTnjZ28qTdB60= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM6PR0402MB3671.eurprd04.prod.outlook.com (2603:10a6:209:19::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.22; Mon, 9 Nov 2020 12:26:56 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::546f:92f0:f3c5:a148]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::546f:92f0:f3c5:a148%7]) with mapi id 15.20.3499.032; Mon, 9 Nov 2020 12:26:56 +0000 From: Aisheng Dong To: Greg Kroah-Hartman CC: Sudip Mukherjee , "Rafael J . Wysocki" , linux-kernel , Shawn Guo , Stephen Boyd Subject: RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure Thread-Topic: [PATCH RESEND] driver core: export device_is_bound() to fix build failure Thread-Index: AQHWtVhC0iFw3JVhoky1GSU0i1GD9am95iCAgAGxewCAAAY6gIAAATqAgAAQwoCAAAN9YIAAAygAgAAB+uA= Date: Mon, 9 Nov 2020 12:26:55 +0000 Message-ID: References: <20201107224727.11015-1-sudipm.mukherjee@gmail.com> <20201108082317.GA40741@kroah.com> <20201109103703.GA1310551@kroah.com> <20201109114125.GC1769924@kroah.com> <20201109120512.GB1832201@kroah.com> In-Reply-To: <20201109120512.GB1832201@kroah.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linuxfoundation.org; dkim=none (message not signed) header.d=none;linuxfoundation.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7919af21-fefb-4567-856e-08d884aabf40 x-ms-traffictypediagnostic: AM6PR0402MB3671: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PWL8pS6d0iL/MbHVPhHVeqZkNtLlN1drcP3N8VQiOK76d5ULSnxresjxPnfiFp4RSGdobxVTB1rKRqZQ4cd2OMLH3NaCN83V9tsA7klbozfmP8py7w9Cnb/rrdCkos6Jc1ljR/1gcUrTcGaMfz15Igi/GGbR89W/C0ZR/8NRnEAQ23KaynpSUG00NEYsuCvMgYE2WA4ymU01JG4QIJHfGQw9EsZNdxeLVCGnFY6AKwr+fAwuqTbvkQB3uY+dRgWg9JTKw+IOsZTSfgGKxc4MN73aKCW9XnXAUBv9sNbx21b1D/BhuSoFkNta7ToECvV7 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4966.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(366004)(376002)(346002)(136003)(396003)(8676002)(26005)(4326008)(316002)(86362001)(9686003)(2906002)(83380400001)(66946007)(66476007)(53546011)(71200400001)(6916009)(8936002)(52536014)(76116006)(5660300002)(64756008)(66446008)(478600001)(186003)(54906003)(55016002)(44832011)(6506007)(7696005)(33656002)(66556008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: tMeKTC462a6RKRlWRK9geYutu+tZz9qjce1jPSRmt4uWKNbZuc+UMIDx8efEostZ/6f59v1KaKJQKEG8kHGxzP7tAHvVa6tMilNOC5FDNK/WnYBAOr6yYnx2M9n+0uVit6DxRuOKCPN9gRZ7wSGj7l+NidPX0oJU0MjoMlyXPYpqBWsgz+TmHyXbs1foaHJGjCf8xiAKlVOFE6/ZnzpVNRTMftT/zo0bKAn+t681PtjGpdg9Rqw+CscqeLJQ0ir2R784bGcuTRKyVje68kKLYoYgGOKX9sE6RukyFFZrlHGzI0ZNwOnOP/aaOwysSOeVYf0ChnBviw9fPEeuvRpSw7oeZo7cmFVAmKIw66R0T+Ejw1bjyrXA8aULjKEown6UZM4RxEHulsGKzAFOHbs7ZNAmxyX0hkM8PSFaAnljS5To2u2qHwuS6fWmUyt6h29+2oXO9FbIckkJwhfmEMVJaGXKkSP9nGCsP98ZAu8BayI4cKFaqODxd1vOSiYqDFE2lo7OcaVztEWTuOROD1EZnpFEv3Y+SkM0CeTW7Hsm9QXKZTxgr/4FGcmfA9cBuupSUghTAViZvLj2vi5Co2hk48cLYLk/YjUnsACy9ZahYBjexiFpfXC+y5lin92dAQFPuDmidjzU0IABhgFAlE2pig== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7919af21-fefb-4567-856e-08d884aabf40 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2020 12:26:55.9929 (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: U20MziIxVGabXFmi4FhfHcaC7tYR2av98RRT0LbvVjRGnrH8iFxFYGCp5OVs7jWgWKuJuXkmMXG0CBTbzbeUXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3671 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBHcmVnIEtyb2FoLUhhcnRtYW4gPGdyZWdraEBsaW51eGZvdW5kYXRpb24ub3JnPg0K PiBTZW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