Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3852669iob; Mon, 2 May 2022 07:14:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2Ld7mtgpgQrRlYAkTAihJg+O43XDPmnUu8euRfA19A0dYa/MeE0iS/uc1j9f+Dg6nLQhK X-Received: by 2002:a17:903:1210:b0:15e:8373:d4b8 with SMTP id l16-20020a170903121000b0015e8373d4b8mr11826074plh.11.1651500881979; Mon, 02 May 2022 07:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651500881; cv=none; d=google.com; s=arc-20160816; b=TiPBe+bPC3wd+8+ezLB/vyDMhcaedPzdSsyNUwKTAYKwR6uDxDODmDw4Oip9kWGHIJ FzE1HGUCaQV4WO06ISEI9u0c/v1YquZbyyuWW7rd41+J/jZL6hkYMir5II7dQ5r3837d 61sffz+HcYjpPaTfIyms7luvF/P87NK5NbHK0LkORhd9iQkXcItXWpsQ3RL3jOHO001c SzvRBe6mM8t4zdXFr/0Z/0P/kU6eUEbArhc70g1AD0GGBR3u8WD5uZqNftEBjjNao3bC zEW4qImJEOZtzyat3vXjZMp4fEFJ+MFkZ6OHw6Mln3voTPGzH8fHh+RoeEYWzeVFR1Tw 2jPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=5W3UHwv9w2itlyn96XTJQgfsRuxKRPYngPeUAEYpuhE=; b=hFSLlQkTzZeAEO1pT5EYZuyAyHl8NgaRvyJZkC4z8/uNpxevtTz5P416THfNbZ/krK kgpiRl+wduxy0c0OXIci5nf+G4/ZXNE1ApS8vStlJY6tg2FZbRthF32aliPOZ6X/vwi+ myNCFWIMT3MbOb851Fd+M8QUaicmdCW22RZyDgaUKGr+L2KnA50ayHUCDYXW5iUTcZOK TknitiwyHBIVvMjPd+siWlDeDCQgz7Qeb+KNCBhWOZnBnA8GbVquJCOSBEwTPWkNau67 UV16GJ5YvNlOhorRy6GmuXspGMVKCP27g+UrOeTCaLxmuCRA3GGrj6S5B0GiHl/W/ruY Xq3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a17090a46c500b001d97ad1c408si17019411pjg.147.2022.05.02.07.14.23; Mon, 02 May 2022 07:14:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245680AbiD1H63 (ORCPT + 99 others); Thu, 28 Apr 2022 03:58:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234669AbiD1H60 (ORCPT ); Thu, 28 Apr 2022 03:58:26 -0400 Received: from zju.edu.cn (spam.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6E776DD; Thu, 28 Apr 2022 00:55:11 -0700 (PDT) Received: by ajax-webmail-mail-app3 (Coremail) ; Thu, 28 Apr 2022 15:55:01 +0800 (GMT+08:00) X-Originating-IP: [222.205.13.90] Date: Thu, 28 Apr 2022 15:55:01 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Greg KH" Cc: "Jakub Kicinski" , "Duoming Zhou" , krzysztof.kozlowski@linaro.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, davem@davemloft.net, alexander.deucher@amd.com, akpm@linux-foundation.org, broonie@kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net v4] nfc: ... device_is_registered() is data race-able X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2022 www.mailtech.cn zju.edu.cn In-Reply-To: References: <20220427011438.110582-1-duoming@zju.edu.cn> <20220427174548.2ae53b84@kernel.org> <38929d91.237b.1806f05f467.Coremail.linma@zju.edu.cn> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <2d7c9164.2b1f.1806f2a8ed9.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cC_KCgDnXmJVSGpi97osAw--.46956W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwMOElNG3GhD8wABsM X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gR3JlZywKCgo+IAo+IFlvdSBzaG91bGQgbm90IGJlIG1ha2luZyB0aGVzZSB0eXBlcyBv ZiBjaGVja3Mgb3V0c2lkZSBvZiB0aGUgZHJpdmVyCj4gY29yZS4KPiAKPiA+IFRoaXMgaXMgYnkg bm8gbWVhbnMgbWF0Y2hpbmcgb3VyIGV4cGVjdGF0aW9ucyBhcyBvbmUgb2Ygb3VyIHByZXZpb3Vz IHBhdGNoIHJlbGllcyBvbiB0aGUgZGV2aWNlX2lzX3Jl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