Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1511322ybc; Tue, 12 Nov 2019 23:14:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxfsd6a+Hsnxz4eTWzmAtYpO0tUoA0gSIQ8Fv3zNJRaeBmMnS1eOxgF2r8M74Xj5DBehdDs X-Received: by 2002:a05:6402:38e:: with SMTP id o14mr1956318edv.285.1573629294173; Tue, 12 Nov 2019 23:14:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573629294; cv=pass; d=google.com; s=arc-20160816; b=Im8Pk3Pwt3x3nRA7buBeTmSIe8O4nV9olkUejAtNraB+kHDlwxtXE3l7CkMRkGXQaD /Zj1fqPBkYc0Eeb5TH/6WYzP0pcJwLbybbTr+NhLIus4jC8lpHbNXVUfGaGk65fzh+yV 1+ljClnP84/1WFZ4FPEcBU32XkvpeFNnFx25o+VKl0S+LOTC1t3k3DOsXQOl5exmKyn8 sg4RYkc+MeibLT3vF8+DPU89fYW9uXb5awLoGycVFdI8vfjerAK+L4SqnogfWhAhVZ8d VzGdzs8vZgu1sxtbJoNUur/KMXMVqnlBDZbx9tXQS4uzkwYybR73+IhiLAtcgnAdDyh8 pcZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=g4erIvFYSbuSKD748g/0qZZheuh/FiHv57w4AW0I5hE=; b=S1eLidyKR5TyBPgr8UROQ4RbAI2u1Q0crD/V1RBGnxNy65waTH9VcaljIW/fQzrnpa uxVkXN84Q4D3+kF/FmIAIsjujchpTz3GnH14jgorfYXUn+5Q1rjc3+s6E1BzARMsOk0t gAvnwBSKaoW9/1bLSAru3M/rvKEirSFuDkcx5XWe4qC6SU09d+KR5my1N3SymaC466uf NHa8NyKyaR3DupTV0GPG5Fe0huhrPviuNL9bpZvOFOAz09qapt+slWiDRvt91497jJla OSLaPnFdp74dRD5PrRPsewgU0ggnxL5MHawfExhOxSc6VYgaEfN62/VRh0Bw9u2WJASv E8Ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=puFhWNIF; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id p57si688883edc.295.2019.11.12.23.14.28; Tue, 12 Nov 2019 23:14:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=puFhWNIF; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726107AbfKMHNn (ORCPT + 99 others); Wed, 13 Nov 2019 02:13:43 -0500 Received: from mail-eopbgr00078.outbound.protection.outlook.com ([40.107.0.78]:51783 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725908AbfKMHNm (ORCPT ); Wed, 13 Nov 2019 02:13:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UccYmiHbS09oymdtjR2Qm77nwQVD13C0R4MLBJDZJwInTXn5l1QfGfPzIpmPWn7Ha3SUZEPNFyO2Q1rf8yY8qyBtEC23ma5AU/X1z6Yo8n8eMdQtavXZiSTIC+796M/2U/Q5v0KyXipmXrvE9b8T0KATkmepRHbkS4Bx7mCp08d8gMifJbL2BRhvUuKoansyozUHt+wM+MokElmt+HfppuSL2NTfHeRni14VrCCsKng0pyH5yFI9PtFRYrIbcDoisnyapI9vz6sYIc+GG8yrUIhiUoed0XUAzOiprCH1dESWY9VsQpXFsE+xwyRnjheWsPJw2Gg33JlR6CoKJwOU6A== 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=g4erIvFYSbuSKD748g/0qZZheuh/FiHv57w4AW0I5hE=; b=lTfLWPxPR+l2p6MW7E+U838ZTu99NIdajmEI8++UldDXUhSPx5fN7txUp2LSIaK1DCxcRtYjytMNLNZbZC9IhS/yHNhWbJIPKuGYhKGCVB1LrM1vThx+agOGxo1RC7RjzYJlj7VT4H7nhaCoAQVlmcZgf1v6NZLWiGsA3/I2GzVvLHIG5C59royw28y4G+wJfo6fY3FtLLy8f/5sPhK759Xb36ZHilgf/x7yoZUhZ4DwIF7Pxg//SP7J+WRqtia0cuVM5mz2H973Fdwqb3Cyycol9OL2FZIbdXN9shZUhmKrlxHAw4iPT4n0RIw/LIpDxP3zBwe02C/TGfpaOywNig== 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=g4erIvFYSbuSKD748g/0qZZheuh/FiHv57w4AW0I5hE=; b=puFhWNIFAjppLBDSNFdIFrPck9TBAA1cSbxaTa8F3imiJOIziCDw/v3WG6WgJXXAYvI0WzkPP82Zl7JYg0dKBd76MA7Ep45GhUCgEyK7nqUbvSIFV3ceKOdyg4En1Z2H5XGJ0oj7ZDNFDonOH7WPMC28QF3U8P/5WomQNVtXTOk= Received: from VI1PR04MB5327.eurprd04.prod.outlook.com (20.177.51.23) by VI1PR04MB6128.eurprd04.prod.outlook.com (20.179.27.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Wed, 13 Nov 2019 07:13:38 +0000 Received: from VI1PR04MB5327.eurprd04.prod.outlook.com ([fe80::cd33:501f:b25:51a9]) by VI1PR04MB5327.eurprd04.prod.outlook.com ([fe80::cd33:501f:b25:51a9%7]) with mapi id 15.20.2451.023; Wed, 13 Nov 2019 07:13:38 +0000 From: Peter Chen To: hui yang CC: Greg KH , "balbi@kernel.org" , "mirq-linux@rere.qmqm.pl" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] USB(u_serial.c): it has a NULL point Thread-Topic: [PATCH 2/2] USB(u_serial.c): it has a NULL point Thread-Index: AQHVkfCf1ocBuOTQN0Sry43xj2y2mqd5ZEuAgAkcL4CABkAJAA== Date: Wed, 13 Nov 2019 07:13:38 +0000 Message-ID: <20191113071558.GB30608@b29397-desktop> References: <1572749044-6091-1-git-send-email-yanghui.def@gmail.com> <20191103124201.GB619218@kroah.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=peter.chen@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 21239bd8-b42c-408f-f268-08d7680901b0 x-ms-traffictypediagnostic: VI1PR04MB6128: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0220D4B98D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(4636009)(136003)(376002)(366004)(39860400002)(396003)(346002)(189003)(199004)(305945005)(229853002)(71200400001)(91956017)(76116006)(86362001)(6116002)(44832011)(33716001)(3846002)(71190400001)(6916009)(6436002)(256004)(6486002)(14444005)(7736002)(33656002)(6512007)(9686003)(76176011)(99286004)(186003)(66066001)(26005)(102836004)(476003)(4326008)(6506007)(446003)(11346002)(53546011)(5660300002)(8676002)(81156014)(14454004)(81166006)(54906003)(2906002)(25786009)(66556008)(66446008)(64756008)(1076003)(478600001)(6246003)(66946007)(8936002)(316002)(486006)(66476007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB6128;H:VI1PR04MB5327.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gT8DO5FtbDORg+NI/+RTtCAepqE/jvpJPAUIESZg1jSVUAPdzumdN/uCYw4ZlGfibDjqI5p1JK4B9LrZhB+llbIlSw3VG3PrnLIgYyheOqO7mLBcI6R4bcuQOknYVI1yNrj48UEEvGUqYTxsK67tZPlBMtJ1Zx3mvge43KvKVpWOS0G9Kuzyr1uFSSCYp4j0ISOkVPcZutz6yw4yeJsu+BTNZjEEU4umT8ON6kgv7DR4VJfk2QEUzdkv2CHSvIdsOIeAc3oTWkvNGPsYzgHoFXM9KiyaDuvLSy98T8rdC+T13rHurLqHb0ijDFR9b2Je+wDCpgc6dPDyreaJmk+sOhUMExEgylSgsrBaCiUtqXhD5CiPGFYS8UaVJom1bSItODSDC5KkE4B2mRUJpL88cFJEhcLxCKNKWSSF8R/V2UHXCPrGRU85+9GG2rpyNQ3N x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <35B72E1DCD32444CB92A0C8506DDBE16@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21239bd8-b42c-408f-f268-08d7680901b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2019 07:13:38.7493 (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: 8bdKIKy3NWVxp7HNFIPknU4NoXB27biSuJzugrLAwKdmTOS6MF5fhb2/QkHZxJNkiL5ODav8sL9acRxlHy100A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6128 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTktMTEtMDkgMTU6NDk6MTMsIGh1aSB5YW5nIHdyb3RlOg0KPiBJJ20gc29ycnkgZm9yIG15 IGZhdWx0IC4gTm93IEkgc2VuZCB0byBldmVyeW9uZSAuDQo+IA0KPiBXaGVuIHdlIHVzZSBVU0Ig dG8gdHJhbnNtaXQgZGF0YQ0KPiB3aXRoIFBDLCB0aGUgcGhvbmUgd2lsbCBjcmFzaGVkIExvdyBw cm9iYWJpbGl0eSAuDQo+IFdlIGZvdW5kIHBvcnQtPnBvcnQudHR5IGJlY2FtZSBOVUxMLg0KDQpX b3VsZCB5b3UgcGxlYXNlIGRlYnVnIG1vcmUsIGl0IHNlZW1zIGdzIG9wZW4vY2xvc2UgKGdzX29w ZW4vZ3NfY2xvc2UpDQphcmUgc29tZXRoaW5nIHdyb25nLiBUaGUgdmFsdWUgcG9ydC0+cG9ydC50 dHkgYW5kIHBvcnQtPnBvcnQuY291bnQNCmFyZSBpbmNvbnNpc3RlbnQuDQoNClBldGVyDQoNCj4g DQo+IFRoYW5rcw0KPiANCj4gR3JlZyBLS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