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 CD40BC7618A for ; Mon, 20 Mar 2023 03:55:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229795AbjCTDzT (ORCPT ); Sun, 19 Mar 2023 23:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbjCTDzO (ORCPT ); Sun, 19 Mar 2023 23:55:14 -0400 Received: from 163.com (m12.mail.163.com [220.181.12.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5CC231DBA3; Sun, 19 Mar 2023 20:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=NoZ6Yv3m5eH5XJcKyA2YOme8UsgLpMm+h1N1F+fx0Jg=; b=m 1JmAR+SS1nkRLRKRuCvaVNFYLVtAZsmKb+DU64vk7PslFaOAF6FRKFNUJZcObIQ/ Abd6seucL0xJrkPA98GbOCUpbW/KigSll9Dt5/FJqKXXtfaHSz2jB9NKFjv15JyK KRDTaUyxLvE+9c0AT7N7lA3El6l4MaGurJuBtY4Lik= Received: from zyytlz.wz$163.com ( [111.206.145.21] ) by ajax-webmail-wmsvr12 (Coremail) ; Mon, 20 Mar 2023 11:54:27 +0800 (CST) X-Originating-IP: [111.206.145.21] Date: Mon, 20 Mar 2023 11:54:27 +0800 (CST) From: =?GBK?B?zfXV9w==?= To: "Jonathan Cameron" Cc: eugen.hristev@collabora.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Lars-Peter Clausen" , hackerzheng666@gmail.com, alex000young@gmail.com, 1395428693sheep@gmail.com Subject: Re:Re: [PATCH] iio: at91-sama5d2_adc: Fix use after free bug in at91_adc_remove due to race condition X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2023 www.mailtech.cn 163com In-Reply-To: <20230319152222.0b02fb51@jic23-huawei> References: <20230310091239.1440279-1-zyytlz.wz@163.com> <20230318173913.19e8a1b1@jic23-huawei> <20230319152222.0b02fb51@jic23-huawei> X-NTES-SC: AL_QuycC/6Tu0wt4SefZ+kXn0oRjuY8XsK3v/kl3YNXP5k0vynH/gsFYl9FHVb32ci2LieikDinXz9i2/5fbZt4RoQ1HuBST22Vvm8uYK7tJP/b Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <275f7404.51b6.186fd27783f.Coremail.zyytlz.wz@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: _____wC3RSXz2BdkPhETAA--.4938W X-CM-SenderInfo: h2113zf2oz6qqrwthudrp/1tbiXRM4U1WBo+DaWQAAsx X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgoKCgoKCgoKCgoKCgoKCkF0IDIwMjMtMDMtMTkgMjI6MjI6MjIsICJKb25hdGhhbiBDYW1lcm9u IiA8amljMjNAa2VybmVsLm9yZz4gd3JvdGU6Cj5PbiBTYXQsIDE4IE1hciAyMDIzIDEwOjM2OjA0 IC0wNzAwCj5MYXJzLVBldGVyIENsYXVzZW4gPGxhcnNAbWV0YWZvby5kZT4gd3JvdGU6Cj4KPj4g T24gMy8xOC8yMyAxMDozOSwgSm9uYXRoYW4gQ2FtZXJvbiB3cm90ZToKPj4gPiBPbiBGcmksIDEw IE1hciAyMDIzIDE3OjEyOjM5ICswODAwCj4+ID4gWmhlbmc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