Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp544906pxb; Thu, 19 Nov 2020 07:47:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxr4qzUbJ+CPXFeWsnJSPPwwOdMck6TSPGSJqnKVm0XE9QG1RJlGMU8CFoEQrHPnD/y0cH6 X-Received: by 2002:aa7:d787:: with SMTP id s7mr30184023edq.205.1605800878739; Thu, 19 Nov 2020 07:47:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605800878; cv=pass; d=google.com; s=arc-20160816; b=owHICP/BvxABLi2kWCQVRPGI0Um+65y1VeMhOLXdGWB5MLd7AoL5BWDptXyPxarYVx WVhhUJynqsxw1wx+YeBi7tMkaDWMJuVOKoFmAcVTbXjmmOmp76RVi45lbc2wi8SBlznY Ds7FV90BYOr8SJEpKk4xErLMbPeLmpnPAmD7byrHflt8VLtkInB4MXVzI2wQY7r+tatw /CrS0bzV9ZMtbMd7MqgsqkGc9FokB1YjZUpCStxmrWR9lNLgp1j8AhvduPMqZneoIxkb nVs44X6gBJ1DI+stjvMlur6MmAkjG7dZFGoHQ8Uc/xYp4Ow/QDyh3Z+JmcLtQPf5dQJp +gkA== 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=ORCrc5eWwkNL6J86j4Rpqclxa/kZ4EVKtXcBkAcBjyI=; b=x7MCwFpN8KPs6slR/UHHQd9GEMw+/8Ateoic9sH9xlwM/63buNI2yvMlRibSf8yq2o dolPtRIgXQj/+OeXgJbFSNxPAJaiT2pk8mov8qHWFBxFYN2Ewc40JU2qcNpZErWE8t7v XMqvF5YWr6NoDjv/KVvq93KvhVEsFc2ver2Vb48HPb6oOeVJsRrPaeZgqNCajw7NMWHf VY29E2bC8Cmjb/vxRE8r+FdXvSIfWSkA4Cemw3/I9kGCuEywOs4D+rzVtnf8VfCXSQGI /vxHfZT4RySNfMmn/pOmvlE7kvh0F7fjK0vxnAy6vmYm08TWjOlaF2fPO8HHyBX40QTT xzIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WxCUW1Fa; 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 bi9si74209edb.331.2020.11.19.07.47.32; Thu, 19 Nov 2020 07:47:58 -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=WxCUW1Fa; 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 S1728832AbgKSPol (ORCPT + 99 others); Thu, 19 Nov 2020 10:44:41 -0500 Received: from mail-vi1eur05on2042.outbound.protection.outlook.com ([40.107.21.42]:56864 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728563AbgKSPok (ORCPT ); Thu, 19 Nov 2020 10:44:40 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b7AR7o3C8tM24/cfoKt1VCguq+jXvCMvhRGAldp7rmhRFTzivBbgiCV9oI6KFE54a+6/FFYe/+zWeM8RcjXyNiFCraJ8Mmry9CuBJQPzWRwOWYO2iJ/aUEobmpaOny6zl953Yb9yn30zs06pwqcu9K67kRgITF/2S9I9zF2gMWzi8I1V/4iS4FTDRzAhFH4Q+V61hxPqz0wO989ID9eVUWV42jjzXtAxNtoER0xJn8YsTzhulrcOdpq16gT2h4hU6ek7Qf/CcsuNXNHPnGh8f+upAGgT5gRBsHZDpOvg3CNbIuiW4cNPFgFbpKGrJvj4cd5TSZ81TzMkB+UnH+Urrw== 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=ORCrc5eWwkNL6J86j4Rpqclxa/kZ4EVKtXcBkAcBjyI=; b=IIQK6yf8Rp13DoL5HYnxzHgIni5SI6SIIqP7VqSJVF1SiiQp1eemgRBpzKhNU/j0EAZmGRvTayesAwoZxOHFk8ZNESrrCWAKOpSsddVvROx8l9vUzxfWYWkVbHTrdH8AV1+beoMOpPmE8aALsBdIH8n9x/kH+NKfCcBNUl+h6uajm6vU2WJtifqnNVu6SIYD6BdV22Goq60g9rlGKa0ebLbihTxacvCYNsdl+4+Y8zg9XAlj4iWmQ9emCjtmB7nlb9hOf05Knwc7ohQahDOzddP3yKGT9NEHgkhT3S3XVKuPcLDXhBRzMX6HhiL7AZKJedueP0ItlQUyxSVy8EJgSQ== 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=ORCrc5eWwkNL6J86j4Rpqclxa/kZ4EVKtXcBkAcBjyI=; b=WxCUW1FauGxzOJZdtW5LsdvUY/WrxzCqIHyoHVGKkOn4jOj2/b4FEf/jw7jMxsmhXtxNL0j/AQcSoaeaDQ++d2v6gqg/CyNMIkSaUnDPOFZvLeP6N+bSDl1/1EJtuViGlI+hekHyFX9aX5mwuVjZb7IXV7AUlTlo3seP2yJ+BTI= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM6PR0402MB3784.eurprd04.prod.outlook.com (2603:10a6:209:23::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Thu, 19 Nov 2020 15:44:21 +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 15:44:21 +0000 From: Aisheng Dong To: "Rafael J. Wysocki" CC: Linux Kernel Mailing List , dl-linux-imx , Dong Aisheng , Greg Kroah-Hartman , Saravana Kannan Subject: RE: [PATCH 1/3] driver core: simply go out if the same device_link is added again Thread-Topic: [PATCH 1/3] driver core: simply go out if the same device_link is added again Thread-Index: AQHWvmWhoYjkqQJMfkOW9p9/afOoyKnPXXgAgAA6bhA= Date: Thu, 19 Nov 2020 15:44:20 +0000 Message-ID: References: <20201119110036.19959-1-aisheng.dong@nxp.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [180.171.84.81] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7b1115c1-305e-47d7-75ac-08d88ca1fb83 x-ms-traffictypediagnostic: AM6PR0402MB3784: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hM2EVZsQhDf8GJe4xEyezoQlFARf/4kkheftjD99hyeHVuoUhb3UDUKDXiXxPfaYbgHsFwFyW7IX1jmIYHiwxCUVhppkNPD+xfry8v+KkdCfKQVTuK3orpdA2vEM1AyCWw81P/MNN69BiiHSkaucquC1kOTkWeh5EO5b4HYnmNkAXUMUCDkGy3KN4PAs0iqIqzNS8eG75TjmiUkTwM8ImJbNvfYpCjIxDeeH2oNCvJ1OVa4r0mVkkLM+FTX6IqV+UUtsA2ZWVXnodOi8/gXnXXlXDx9FreV8qBniTYjV2KnDSz4L8DVL63UjFO8UfeBx 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)(396003)(136003)(376002)(366004)(346002)(54906003)(83380400001)(76116006)(6506007)(53546011)(186003)(66946007)(5660300002)(316002)(478600001)(6916009)(66446008)(8676002)(64756008)(66556008)(33656002)(66476007)(52536014)(71200400001)(7696005)(55016002)(44832011)(86362001)(4326008)(9686003)(8936002)(26005)(2906002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: +KCfXY5S7X9WCNNKqxTYPvL7uk8a2jdpZ3A7k/XMwPqyRJD/2ydzOf4/IOSJ6C0wkcDzcl2q9CGBfFWO+0/Su1ExPMXPh38tfdqSS56eOOx6ebG+8QqltM3kVOX/uPDSCl23RcA0jL2Upla+TLZC3Nzi1kT1cySTCsnUigco58y5ECE93boKifsO5M5cGsowo4fCQFoUsYf6cfxQ0QLwMYclqu95aGBR6MTBCVIvBT/UBUMULeqJ/ZDiI74NOm55P3i3ADO7I7Pg3/ZsY7LQ37XwUPi+5E8MuJGJVWoJ4cN1eoqClnrSSnlfFnjwnFAuS0B7PV552mRYmpAn3gQxBlES7Y3b2p9EZBjw6eQKtwjfL0DZ3HYCq3TiCJFsDAUMzqWczfwvuTAMDBgblR9B3yzVH4dJXTAQTqCiMnN9Ceu2dJFvpuItP99lxlVcu7V3dluzHbTWs6d6I/eXFIBjSAJM3KlIb9+ZXYV4bPKPKWo7EI4GeF12RnW3D2li+miqihg+BDvG2ieK+82YOSn5tzD6xxWkUkLM4S7bjty/BhVcg7MGrrydpaalJWAB0DXdW944Yn/Py9hvBVScNKW3Yn8/mpYxa31GEJg8oUR/ezTO0fk0aRZFm5/zVj2sap3y1zuXK6N6oAo3gj0qSZ49AQ== 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: 7b1115c1-305e-47d7-75ac-08d88ca1fb83 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2020 15:44:20.8865 (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: 0RCqYCtvGTQz9Bt2pWV+EDUQVS6QiQJh8/RvoBbeJheArKMrHF1GgLbaEII4QJWqAEHE0NGvEgoyyBjDKs+0yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3784 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBSYWZhZWwgSi4gV3lzb2NraSA8cmFmYWVsQGtlcm5lbC5vcmc+DQo+IFNlbnQ6IFRo dXJzZGF5LCBOb3ZlbWJlciAxOSwgMjAyMCA4OjEyIFBNDQo+IA0KPiBPbiBUaHUsIE5vdiAxOSwg MjAyMCBhdCAxMjoxOCBQTSBEb25n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