Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp953499iob; Thu, 28 Apr 2022 14:49:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9QlJtpwIWPOY/OUYQCLHxB7knQ3yz8BUG7tQQuKEffVE1zsY9qq5/XuwmmgYqrr+HISo+ X-Received: by 2002:a17:903:246:b0:153:87f0:a93e with SMTP id j6-20020a170903024600b0015387f0a93emr35798699plh.171.1651182570515; Thu, 28 Apr 2022 14:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651182570; cv=none; d=google.com; s=arc-20160816; b=fcWlRWIRAL+WqAVr9m9lvCBw4CQo/uvHYp9yXWFWiPP0y5IoR4MSpquwdAtTGMqaqi Z7YhdwC6gYPEvLgN3IQn8xvMkRbzQ9tv41M+8S+B8DZqvK7FAuwpSDtBwyZH4Tg+Kg5q TmzE6EgRn0q8hQ4OwyTYA3cteDB2qRZZVzkjokMP4G1xqekC9EHmBrJomPBJs6/aQr4c DZJNTZynPCyWxff3UYXwHg0zKR05QORg0a2tuZops4tFZYCZtwsZ1rEEERsXXjj7x9TB RipRcL5RVVrmYL56MZoVVJhLhf/nGuvXqrZfnIiDC3B471SIgmcYo6ILYrpijezL7yIM ppZA== 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=gkolcyMettoOQp2N5p2Y6xEWY8/8+HwGeBYetzrGJuw=; b=zRkJfwHkRl5Ae9hzig1XoGtzHT1InaoLJhQoI6vwL91ksaKUwv2pLInlUw2bpih/Hr sAKdT/BjW9L4EM+DmBQZpDng9fuj0T8vpnbB6dV5D4pU/BusBBB8Uawdn42J0/D+oKgf p8Lmf9xLAg5XP//hj4fzTzU+cxmo26h/4oW3B4ApdL46Ur4//es/mM3L+FKBR4tt05gB /l2rE5c/WjcLapxgoffTsmRAudNp+kzB2XaarLuOPGVZxuFi0utISo+Ev+o0vc4CyBXr FYBT90Y7sdI6E0TdvWDYJbgfzakEyisSUJ3xHAlWEUk9gk68FnlriPLDf3wlH4zzJTzX IzvA== 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 d14-20020a170902cece00b0015495894d28si6370242plg.412.2022.04.28.14.49.12; Thu, 28 Apr 2022 14:49:30 -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 S1347700AbiD1N5V (ORCPT + 99 others); Thu, 28 Apr 2022 09:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbiD1N5S (ORCPT ); Thu, 28 Apr 2022 09:57:18 -0400 Received: from zg8tmty1ljiyny4xntqumjca.icoremail.net (zg8tmty1ljiyny4xntqumjca.icoremail.net [165.227.154.27]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 211A7B42DE; Thu, 28 Apr 2022 06:53:59 -0700 (PDT) Received: by ajax-webmail-mail-app4 (Coremail) ; Thu, 28 Apr 2022 21:53:28 +0800 (GMT+08:00) X-Originating-IP: [125.120.151.211] Date: Thu, 28 Apr 2022 21:53:28 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Greg KH" Cc: "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, "Jakub Kicinski" 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> <2d7c9164.2b1f.1806f2a8ed9.Coremail.linma@zju.edu.cn> <15d09db2.2f76.1806f5c4187.Coremail.linma@zju.edu.cn> <20220428060628.713479b2@kernel.org> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <6ad27014.42f6.1807072bb39.Coremail.linma@zju.edu.cn> X-Coremail-Locale: en_US X-CM-TRANSID: cS_KCgDnzkVZnGpiHuj8AQ--.9822W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwIOElNG3GhaBwAAsh X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=no 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 SGVsbG8gdGhlcmUKCj4gCj4gSG93IGRvIHlvdSBwaHlzaWNhbGx5IHJlbW92ZSBhIE5GQyBkZXZp Y2UgZnJvbSBhIHN5c3RlbT8gIFdoY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