Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD7D6C6FD1D for ; Wed, 15 Mar 2023 13:37:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230403AbjCONhy (ORCPT ); Wed, 15 Mar 2023 09:37:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232332AbjCONhu (ORCPT ); Wed, 15 Mar 2023 09:37:50 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20615.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::615]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C4051EBF1; Wed, 15 Mar 2023 06:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FXOi14M19H+JK7Va9SMQEw2/H9gwAnWBk9wDpKNfwClTv+cGog1ixgVfAnV1wSuwKeEv/Mja4biZgM+/GikKS9kovYx/BQtc3kts37Qmlf45JrwlIOnXG5BpCmyXyiLAT6JCn3DrdNXZvOwgW06tD0pw8oyZyzLOoRt/EmEMuBcNWDQobjq0J9/rngK0dgPEDm37sphdYpd5HtT140H/lOPSfX1G3BPg8Byb/8Le434yJh5YxKAovKZ7NKIuLcBsjkGjLAbD3eEdrEa97DftuVpoz7b/91BOjGxBAb3k7IaiEbN3aN0ndcEYc6sY/Q3pfG7wfmydfmRaEe5byOaY6g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DedZRVJ7oajOkKn+sg2W6ez4QIO48/KbCtCea5HbhFU=; b=k1973vXNuBUG54hkKnmgad3Yj7rvsczS8fSu4j8F68iPQ12Jv6u3wtW6U1LElAyhniwwqzVnRfdG/ee1qz5GJsFI7By3vnsT3JwP0/2SJHzldoDZ0JyFlsp+NpxhKbore3FBrbBjDI5/h37PKINkwMj9apgw+pIwLy1vBkHMnmpVT3ZW7qtXfnxOsyVDdvQbsZUX0Uh+0rGEmGrtC9wDARVfXyQpAH1rnqVsSkMMoa7GygjiuI/vD8PUWGwIWfpnBBWU0aMEXbUKj7m82d24aNWf99Re3J8BoVLnqf+U/k0D7hcQZPaICaci3s7mloLGoc10VXY0hpt05GuJ/9zrwA== 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=DedZRVJ7oajOkKn+sg2W6ez4QIO48/KbCtCea5HbhFU=; b=UyzwYUtxNQf1EyBKtMs3PTY35miQjq5rk2Q3r8McZLrw3JtaHciGO1aYoDabVWnQbuKs0hcupi/zsynySGIgoFmy9AimXQCd4/g2oEX5TgZ1zgvKUGJnL8ow3OSBWxILK3lNvqUoNR57CPud56hBj7QJYkBDRjOqulWAw/b3Yro= Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by PAXPR04MB8752.eurprd04.prod.outlook.com (2603:10a6:102:20e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.29; Wed, 15 Mar 2023 13:37:44 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3079:f55a:740e:c103]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3079:f55a:740e:c103%9]) with mapi id 15.20.6178.029; Wed, 15 Mar 2023 13:37:44 +0000 From: Sherry Sun To: Greg KH CC: "jirislaby@kernel.org" , "robh@kernel.org" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH] tty: serdev: serdev-ttyport: add devt for ctrl->dev Thread-Topic: [PATCH] tty: serdev: serdev-ttyport: add devt for ctrl->dev Thread-Index: AQHZVyzjNbgw/TJEikSSFujd8MFQaK77rx4AgAAkpxA= Date: Wed, 15 Mar 2023 13:37:44 +0000 Message-ID: References: <20230315105400.23426-1-sherry.sun@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: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS8PR04MB8404:EE_|PAXPR04MB8752:EE_ x-ms-office365-filtering-correlation-id: 08e13327-aad1-4b44-a5d7-08db255a74ed x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6AJHOJ5S67ndJ1rPI0wyDswv8mFXfSYoC/K0vaae19WucnMWRNRPgDKNdiCPx0ZIoq+R3SNaNi4p0T/vA2SskX+gWUdiZwpdGd6nQeVLIacqyFXuuzsbn5v9qYamoZjgXNslsJ9EvOqXJNxdZo0fSppzmlYyavMAApCT3Wy618SJ91KG9TELRRtXXY6rTJSSp60vZDPgZXzx7GghuWVbo4CJa9XNqHSFD4XCkPy8JMjxzmHxYrOp/GRGLlwLUBdDJndUgGyaXb6TPNfpz3sVJNZ/SFNf5TQoBZqxiMguNEGizp7MzBlZv22XEwbgIymN2K9HEAop5NC25YaCOlwFdQIwYUeEiSLpD+qpZUTW/faAXP7H7YIeRq20bR3ZQv5ydpkzjjoxZKZy3NRJGCDEoNHsLX68IrU5V7zfD9I4VPEBrzN3jj0LYBJm/bkyh/IhsGSks35u17D7V5gQJIxZz+vLivzbWU5xx7Roki6GeKVkoOrw9hiIv9WGyZjsBds44D9czO8ZCWoUE4uGja+u92Xb85n5i2gzXyjZEVyCbm7N+0CXs0H0xQykhW3TrA16ytru1iQ0ylw1oJ26h8LbFQNw7g0by0lfZbCp8HEdU9/Um40UFptWWZtTYJIlTM/p/ixmUJFRgqd8dF91vlzsXJagfgBpXeufocr/yrIgmgQuIFtqNSsyV7bumjjOPOfW9UJ/7Zaa/p0nihnwnK5eSw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8404.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(39860400002)(376002)(396003)(366004)(346002)(451199018)(38070700005)(86362001)(33656002)(38100700002)(122000001)(2906002)(52536014)(41300700001)(5660300002)(8936002)(55016003)(4326008)(26005)(186003)(53546011)(6506007)(9686003)(83380400001)(316002)(54906003)(66446008)(76116006)(8676002)(66476007)(66946007)(6916009)(44832011)(478600001)(7696005)(71200400001)(66556008)(64756008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?Vk9uNjJFSjFxcWs3ejNlNm11WkpxOWRHUjRYUFRmSUNUdi9TeFdWVXhwc29N?= =?gb2312?B?cTJjSU5YZTBPNkRyc0NxQ25RQjJNY1ZUQTd3eHBhTVhMTVdkUlNpSVREaWR1?= =?gb2312?B?OWYrbEtCL2tOQ0RPWG9SODJwTFJqZFRCcDc3aENOMlFKUzhuMmlZbmQ2RXQx?= =?gb2312?B?ZnZLZEJjSm5FbElhald0U2ZYKysrQzZWZVdCOUJOMWJsYjFJZiszcGZlR1B2?= =?gb2312?B?UXZobHFDUW9xS0ZocG9NYTkvcnhIYWIxYzhDSUg1ZkVtaUd6MVVSZTREMUw4?= =?g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BJUWtqbWJselN4emxoZ3F6aTk5?= =?gb2312?Q?XMh4=3D?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08e13327-aad1-4b44-a5d7-08db255a74ed X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2023 13:37:44.1604 (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: +IgYLy7c2FfrRzWVit7BK4Ow/lEB4eXfSAPR06Sqk02R6qvdlXcVyMYEYpWQU0FuIzPyvjGWarcq22Y+tCwSFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8752 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3JlZyBLSCA8Z3JlZ2to QGxpbnV4Zm91bmRhdGlvbi5vcmc+DQo+IFNlbnQ6IDIwMjPE6jPUwjE1yNUgMTk6MTANCj4gVG86 IFNoZXJyeSBTdW4gPHNoZXJyeS5zdW5AbnhwLmNvbT4NCj4gQ2M6IGppcmlzbGFieUBrZXJuZWwu b3JnOyByb2JoQGtlcm5lbC5vcmc7IGxpbnV4LXNlcmlhbEB2Z2VyLmtlcm5lbC5vcmc7DQo+IGxp bnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGRsLWxpbnV4LWlteCA8bGludXgtaW14QG54cC5j b20+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIHR0eTogc2VyZGV2OiBzZXJkZXYtdHR5cG9ydD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