Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp475469pxb; Thu, 19 Nov 2020 06:12:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0MxQ5Ov+YcAtMBDJpuy+fVoxRSwFQpxEetEoDyl3tf3hUWffrscruZP6v/MOHKYtNY32z X-Received: by 2002:aa7:d6c2:: with SMTP id x2mr29710330edr.206.1605795177325; Thu, 19 Nov 2020 06:12:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605795177; cv=pass; d=google.com; s=arc-20160816; b=QlvDb/umQehdPGipxhoN70d2rTfOp8C4H7lXPdZrCm/2X9g8rSGdIi+8TfSy6wbx3j FbEBsPtL/q6kbJqBYJsa3Or26TuRELeGu2GgGCmbGp86HcW+IrTU8KUOwUzbpyzRZZzM FDrnAA/FHc36R8xF1ZZb5RB202gblb/83Jyg82QRIRsp9Zm8q5QkStE243Sy3yD39YlA o7xM4TGT9TBiupdIG/O4WlakHMnDZ2C8pUE1NSEo+fbzBsFVxQsWmOqGgsp5w8muIR56 Wm6FS75X9VUjaR7JV2IDcjvxdBuAjWwIpXfhUV4zGIxT4tlilmgukWWRQRyk5nMe69B4 ZUrw== 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=0MIfSTF744fxKEWdzYOH1E2UUiuvvVADARbi1k2mtQ0=; b=hgH84EDT0aI0MEaXhHw2LlHULJvPoAAIUi59U9SNxSPSEme0qgXQzd8OUTlXEbUger YMmiLrembwaVTwupQ1FwmNL3YvRETJQgtieNLRXHI1icFEQs+Buw4EPV3jTKVFmYxmO9 Pj4o0TvnfRqIv03z4AAkgLTK0hq97USSsf94RtYZ/9l51nXuKEWWgNmTknUK8JWmAzH6 6CXJNrt/c/su2AfSb1CgofBU8secsVNZ89pp4pZ2gJ1LVjsPqUh3zxVgnEWt1Et1hAT8 LWZC6SsX4/UAunzxv7utdosUGnOiQ+evVD/axCeB0AXny8yyxpyHcWeN1PAAruas8VFr 0hOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=psSAVBDv; 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 hs8si12883899ejc.600.2020.11.19.06.12.32; Thu, 19 Nov 2020 06:12:57 -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=psSAVBDv; 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 S1727690AbgKSOJr (ORCPT + 99 others); Thu, 19 Nov 2020 09:09:47 -0500 Received: from mail-eopbgr00082.outbound.protection.outlook.com ([40.107.0.82]:65505 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727025AbgKSOJq (ORCPT ); Thu, 19 Nov 2020 09:09:46 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PKKISBezTAeETEYfUBkQoaBcktePe4TNhj6BjVhm6fej5shEAEIsmTM1pALv6XUfl3hWrypFchbyJm5vCnXTUBdXTgx4TV7/ONa9EpQ+lxjObJ0K656qlk516fRpmcV1oaHtngOU+eDdYTIEIiRSc2bWGedy7kTGyBMwzb1AopbSJh6EekOj8tdZR5GMJssFA+HbSMm4YcaqRr4cJxwDwMBWIRQPrbGa6Cta+oeBb8z324vuCRVFj7vNJtCbyN4DcOYo9w4nmOPrSCl2wYgGUTqNoW3srpv+N2Frzd6CgRahG4snu6WRWPKump/+A7g5zG91n1lwpMjnu4qLueC2Dw== 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=0MIfSTF744fxKEWdzYOH1E2UUiuvvVADARbi1k2mtQ0=; b=O1A1jhCXMn/4UN213KzK0hD+q6Azj9HCXwE47BBbHSSvE7Iu/F38xp6sNiUAgdePGaTcqGW2cki2C/wBLP/Es/8cCR5ZjC9SB0SLvx3Lhf0OCVx6T0rP7vjOdF8OeAe1f5dzXz5fHkp3QWbzadzl8sdSgOEpZEMXXAbaKh/xir5vfX8jr5BWLvt9UyNHY4Lnr6LlDgXtDDQIM2GKNEPpsa7Jc9cUDkPSlnf2fi+dOgr5wQDrRwEARcWEDFs1jILjwiB1BnvGgmP+Z5GFd7Au35GTCtkdqn/6mHZdRoGLBQ66xSHZJHsUgMd14qDCbPQ4MKdxZt9d7qB/KqferTIIsg== 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=0MIfSTF744fxKEWdzYOH1E2UUiuvvVADARbi1k2mtQ0=; b=psSAVBDvLPSEFkCMP/TrWvFF1TWvpCY1Fq5cRoV7iavl8jnNU4WOiYZoVGqP7ARYNwY9sfEX3DdFy04UXeNfxYBoQE2bXW930Ml3aJc1RBGuRqMZpL9/Ten8k8QOKM+AV5VmdUFFmRGbflKM1PRhtLaU50e5UfGsMXgI/nlPIq8= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AS8PR04MB7879.eurprd04.prod.outlook.com (2603:10a6:20b:2a4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Thu, 19 Nov 2020 14:09:42 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::3cfc:a92e:75ad:ce4a]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::3cfc:a92e:75ad:ce4a%3]) with mapi id 15.20.3564.029; Thu, 19 Nov 2020 14:09:42 +0000 From: Aisheng Dong To: Greg Kroah-Hartman CC: Saravana Kannan , 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+uCAAAn8gIAN9OMwgAAN4wCAAEY+sIAAfGwAgABC/JCAALUbgIAACZgw Date: Thu, 19 Nov 2020 14:09:42 +0000 Message-ID: References: <20201109114125.GC1769924@kroah.com> <20201109120512.GB1832201@kroah.com> <20201109124801.GA1890488@kroah.com> In-Reply-To: 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: 5e4ceaeb-0f5f-4d79-82f1-08d88c94c311 x-ms-traffictypediagnostic: AS8PR04MB7879: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BQL4pm2qpoM5yt6N9DcZ0kbBctnIklsfrr+j8Ix5WCAdU23jgncEyxTkpfr9WM231VF8BpHC5bDuHpayacf9zve8x2AfzxoCjb8QRA4RLQb4muU3vOnAJT/YKgfF6IiRPui2jVPyHlblsA1O2APWuiWnWGlBCmIz9TzmSejuy6yeVvU+lFigJivkOlcQD3KJzD1koQmgyQG+iJoCsrH61nD6Yq5utIhqd+Y+YBu3zwPmmrEUF+6aRrNkI+9IZjVlyU6qte5QaxBqm7lH3QvENbdO4sCy3347u9n80gWVwf+QDnGs/45VsXlwY6wKmcc0hjIIWIMET+XYVoC4kFTH8M8z76+Kh1j9/ZX4jUjHmKBZSaIyALnb+raiySY3GIuI7AaGgmX5w9sfcNJ2BGN5kw== 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)(376002)(136003)(39860400002)(346002)(396003)(366004)(966005)(71200400001)(4326008)(33656002)(9686003)(26005)(55016002)(66946007)(76116006)(478600001)(66476007)(66446008)(64756008)(54906003)(52536014)(6916009)(8936002)(66556008)(86362001)(2906002)(186003)(8676002)(7696005)(83380400001)(6506007)(44832011)(5660300002)(316002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: QthU/j59vz73+dvo6LqaaxElpdPasqiqQrN5iMB+RPxFDBnUy4qqAKxOUeZyYU+JoXy8PsHCc7/RjfPKmVbLAb+O1wg/ycibY8OaJicrf/YtTUihwEOMaED5TQwgg9HH+h/tATgwEdy2Npf9OXFF5HpF/hgSkIVXdDlWK7x0WFnmK4GDt3vGa+XpviSoNxCHsnaIon9Q231RvoUZtMaKybICXFMDWl6NQzvtPdcXJaaZFnRDePceaqQiYNE2T46+2oEBbdK9dI9BTGMxNkoDczrTyeOivcc0bgPIVVQtu6SUr56bJ4Q7VTpXW8Ewb3v6ZIBGjiSXCAkovCB4+otS4mQ0eZfP/6GwQ4j3KYIAZUaD6C7PJYp4fXowX9htDNwYi3l3KdluuiptluTo1SHfBdsVaXu7aqPfBTzmo9yUGHhyVSym2mOLubG+hcQSV8UhmjIqgKTbihz/I92deXAMtytniG2R89dOKLxiNfjrkxo5qK3RUx3TSd44293sevN1LQFU3u4NmuOPyTTRo1mm0Vp5xFvYUm/NfgSaH7vW9+mC/k0mtFR18SMpYedlpxiEs0Bgc8r6qtTSxcQxF632Fs7pZDzauuBLpbE20xmAvV5EPK6vEQmVWHu3gunRp0p3wbZXF0p9Spj8yAdc8Uy4yg== 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: 5e4ceaeb-0f5f-4d79-82f1-08d88c94c311 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2020 14:09:42.7549 (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: TQcIGug4ucc8QUtrmNZOXdR7U9UiDQCgJXUSDZ8Bz6nu6kavEpYa82l3odkj5Mi3mgzCGXyVgjYdVz3qowmUUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7879 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org P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