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 758A5C7618A for ; Mon, 20 Mar 2023 03:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229914AbjCTD6F (ORCPT ); Sun, 19 Mar 2023 23:58:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjCTD6A (ORCPT ); Sun, 19 Mar 2023 23:58:00 -0400 Received: from 163.com (m12.mail.163.com [220.181.12.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0AD8AD51F; Sun, 19 Mar 2023 20:57:57 -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=/gLyn9NgV9a5Loqbhm+Q8jjDGShVTpb10p5zf1UgHHo=; b=L gEg7qg3I4NUN8/U4j4mPZ0Fnm6geYv4aYGqM5iOmClZFr0r51oPwopcSl1JT75Qn pTj8HBrp+SoIG7n9rrGHHJSwkWel4th4VmOyGjxJ9Yha7EEYlzVwux05vVvRErnv LonaVfYC6yUZuegOgu/bnzk7+lM5CrnJTonRUH3AV0= Received: from zyytlz.wz$163.com ( [111.206.145.21] ) by ajax-webmail-wmsvr12 (Coremail) ; Mon, 20 Mar 2023 11:40:28 +0800 (CST) X-Originating-IP: [111.206.145.21] Date: Mon, 20 Mar 2023 11:40:28 +0800 (CST) From: =?GBK?B?zfXV9w==?= To: "Jonathan Cameron" Cc: eugen.hristev@collabora.com, lars@metafoo.de, 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 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: <20230318173913.19e8a1b1@jic23-huawei> References: <20230310091239.1440279-1-zyytlz.wz@163.com> <20230318173913.19e8a1b1@jic23-huawei> X-NTES-SC: AL_QuycC/6TvE4p7iWYZOkXn0oRjuY8XsK3v/kl3YNXP5k0vynH/gsFYl9FHVb32ci2LieikDinXz9i2/5fbZt4RoS8WqxpNClyu2Lf2aqKoHtC Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <6c72d3e3.4dde.186fd1aa9d7.Coremail.zyytlz.wz@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: _____wAntSSs1RdkZvwSAA--.12543W X-CM-SenderInfo: h2113zf2oz6qqrwthudrp/1tbiXQs3U1WBo93sHAABsp X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgoKCgoKCgoKCgoKCgoKCkF0IDIwMjMtMDMtMTkgMDA6Mzk6MTMsICJKb25hdGhhbiBDYW1lcm9u IiA8amljMjNAa2VybmVsLm9yZz4gd3JvdGU6Cj5PbiBGcmksIDEwIE1hciAyMDIzIDE3OjEyOjM5 ICswODAwCj5aaGVuZyBXYW5nIDx6eXl0bHoud3pAMTYzLmNvbT4gd3JvdGU6Cj4KPj4gSW4gYXQ5 MV9hZGNfcHJvYmUsICZzdC0+dG91Y2hfc3Qud29ya3EgaXMgYm91bmQgd2l0aAo+PiBhdDkxX2Fk Y193b3JrcV9oYW5kbGVyLiBUaGVuIGl0IHdpbGwgYmUgc3RhcnRlZCBieSBpcnEKPj4gaGFuZGxl ciBhdDkxX2FkY190b3VjaF9kYXRhX2hhbmRs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