Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp665565pxk; Sun, 30 Aug 2020 18:53:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyZj3kHgsJ3s7j80eNLAbasKsRgLHnqUWUPqShEuYVU6uO59Ehqip9UQTAxFflDSF/FYBn X-Received: by 2002:a17:906:a0c5:: with SMTP id bh5mr9630845ejb.120.1598838822100; Sun, 30 Aug 2020 18:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598838822; cv=none; d=google.com; s=arc-20160816; b=QUa4dWgZn8q4pQMcoeu7JlxkUJb0rqpBnas3ZXBW/zWEnej41DSLO8K1boi33VnEUz WWM4Joh1V+qoChBMQ22GZXdXYZmtT3I5BwbFdpS8SCvpgTyRDvoeeonm91F+j0E5S0ic qKkb+zWkAwxLPyHZEXYjx1WoWrgE+krIxVtzLpT5Rh+ct/k25QN/N6LZt0TDS73Ix6VZ q3pSwxJcwFckm8nWlhdUkj8ADC/dvIaMl5p6x3JQvtmux5k6DOhNGCI4p3l8FcoEHI+n 3CDiZYv5ZSZpPli6otRrqcQz5a0WN1cquj3VHt72lEUKYHqtzM3SxQ/mFEjt6dYT8tEx 3TEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=CKPJOw9Pxq9nUroeTbwTwZKLGO0Crpt83e3+Rzmhnfc=; b=Dgqibt7Nia7zQRQNdbemKoDKoZur9nOg4KAXgGZfj8lIOy/c3MKS/ZzeHL+u/aivH/ 05zf9KtDZXWazp0xpGu2J2VpnymbHVbKTCCV84G6T+HfiIvF0MLo+b/9g1+32kuM/Sic e6lF3+Qx1cpz2HhmxBlmqo6yEyoj54PgwvI6Dmn/eEd2AFSdlD4CwhvKDi8Sx05/gMK8 2hlYO+0L2tTypvj5BiX8HFxJLCSepoVCeVBCeumpQVh3XAlpOFwLK3N4kGCBajcg51dv DgRCLjTrbVFTNXx6RAUEJ4k6JElIWRVeRkGDFZYDplGMVs6TV/RA1fkoh1ScDGhncM2q 2kLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rckeqeT9; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t4si4215186ejt.506.2020.08.30.18.53.18; Sun, 30 Aug 2020 18:53:42 -0700 (PDT) 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=@mediatek.com header.s=dk header.b=rckeqeT9; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbgHaBwj (ORCPT + 99 others); Sun, 30 Aug 2020 21:52:39 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:16438 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726454AbgHaBwi (ORCPT ); Sun, 30 Aug 2020 21:52:38 -0400 X-UUID: 11d7f1acc5b24e608d751e86be8500cd-20200831 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=CKPJOw9Pxq9nUroeTbwTwZKLGO0Crpt83e3+Rzmhnfc=; b=rckeqeT9blEUI8eczTUNnmz0uwebwQSnwayquCCYbLbjNdLo6sYcKCRR2T8yDXgkCNnLRDR0q/GXYstyk4s870/xRSPEYl8UYmKhQ3/GOSlmIZb6aW3PxW5bOTbUsWjHrYQudzfJvWFyhN/GyPgliS1UjS5xlQ22crvSCLrpLhs=; X-UUID: 11d7f1acc5b24e608d751e86be8500cd-20200831 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1758976509; Mon, 31 Aug 2020 09:52:31 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 31 Aug 2020 09:52:29 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 31 Aug 2020 09:52:29 +0800 Message-ID: <1598838655.7054.11.camel@mhfsdcap03> Subject: Re: [PATCH v4] usb: mtu3: fix panic in mtu3_gadget_stop() From: Chunfeng Yun To: Macpaul Lin CC: Alan Stern , Felipe Balbi , Greg Kroah-Hartman , Matthias Brugger , , , , Ainge Hsu , Eddie Hung , Mediatek WSD Upstream , Macpaul Lin , , Date: Mon, 31 Aug 2020 09:50:55 +0800 In-Reply-To: <1598539328-1976-1-git-send-email-macpaul.lin@mediatek.com> References: <1598520178-17301-1-git-send-email-macpaul.lin@mediatek.com> <1598539328-1976-1-git-send-email-macpaul.lin@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 77E100386F2C0ABE68A90833F81AA8EAAAE55A04FA2870F70C909006F70608A82000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVG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