From patchwork Thu Nov 10 06:54:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shaozhengchao X-Patchwork-Id: 17980 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp763768wru; Wed, 9 Nov 2022 22:52:41 -0800 (PST) X-Google-Smtp-Source: AMsMyM4VlDj/eDQCc+3GFundB0BGxJIqQMZedcfg6UbIWCPfR9sT0BiQYM9PXIf3hlL+L1wEfY5b X-Received: by 2002:a05:6402:1f05:b0:459:b29:d896 with SMTP id b5-20020a0564021f0500b004590b29d896mr1703342edb.9.1668063161180; Wed, 09 Nov 2022 22:52:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668063161; cv=none; d=google.com; s=arc-20160816; b=RQNCMfH6U/C9yT6L1INK9eCbYQF3saOun/RfN72mrFTktd4Y+zSM/ckjlEeXDTiomM tmK5zsZP7h2nAo2sgAunM24g9RvxCmNPbDQhHCpQX+PFqyjqGfiSvZDkN7fK3StxPqNK YjocRtsYD/Y4KcnC7lDN9QanSbnRxtGh2bax/eThBdVUScrW83ILNts8+LFDW2+GIhKy ZwgwwBNnu5mpL7NgzmDKjLhH9Gr53BoyVoP1sygCIWvtaIlzZZSIpKkP0HSfOAiv1WUP Q93/QedilX83eUrsN0gChUKZ1b2p/pgwH7cDFvFk25GzeOwClbOgOiVKwThCwnfZQgch HY6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=y9WrfsMs/iOWXfHAKfsd/mIF8/qKHo4GCfs12OfqvGQ=; b=QheU+I3RrQTiq9QMCZU/CK7SyWlw5k6KlmOKSRsTBnJCT2i1ddTsVe2hQ9HyyfaMmo sNe0yCP79Cx4sLymxWWV72CB5z+phKIoAQQbOrvaVmUuHYoq0906zgsrJ+8hb5MJFylL Y3URwA/vayuq2Q3ke/QQl81r8AyoBFD53ibZ84cK2sRmPUfsuOkp8KaP0vpA6ZEs37SJ xLtHBAMgY9uvLv19QksL8PZI5tQb7CtlCrnFH2V4BEDbmqtsz29691EEW1JOuL+bXeg9 zAd30cthZLeDU/5wrN+N/lTfElfF0K3jgFmVcUHKe9ZPjVy8dRm5aLmhGfeTnHDdbSZk P+JQ== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt9-20020a1709072d8900b0078d49f0df9csi19489291ejc.453.2022.11.09.22.52.17; Wed, 09 Nov 2022 22:52:41 -0800 (PST) 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232559AbiKJGrs (ORCPT + 99 others); Thu, 10 Nov 2022 01:47:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbiKJGrr (ORCPT ); Thu, 10 Nov 2022 01:47:47 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BF842A433 for ; Wed, 9 Nov 2022 22:47:45 -0800 (PST) Received: from dggpeml500026.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4N7C3k4MzVzpWRF for ; Thu, 10 Nov 2022 14:44:02 +0800 (CST) Received: from huawei.com (10.175.101.6) by dggpeml500026.china.huawei.com (7.185.36.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 10 Nov 2022 14:47:43 +0800 From: Zhengchao Shao To: CC: , , Subject: [PATCH] hashtable: fix some kernel-doc comments Date: Thu, 10 Nov 2022 14:54:41 +0800 Message-ID: <20221110065441.87299-1-shaozhengchao@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500026.china.huawei.com (7.185.36.106) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749090996939222648?= X-GMAIL-MSGID: =?utf-8?q?1749090996939222648?= Since commit a8b7b2d0b3fc ("sched: sch_api: add missing rcu read lock to silence the warning") has been merged, the macro hlist_for_each_entry_rcu comments should be updated. Signed-off-by: Zhengchao Shao --- include/linux/hashtable.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/hashtable.h b/include/linux/hashtable.h index f6c666730b8c..8b50bb68428d 100644 --- a/include/linux/hashtable.h +++ b/include/linux/hashtable.h @@ -172,6 +172,7 @@ static inline void hash_del_rcu(struct hlist_node *node) * @obj: the type * to use as a loop cursor for each entry * @member: the name of the hlist_node within the struct * @key: the key of the objects to iterate over + * @cond: optional lockdep expression if called from non-RCU protection. */ #define hash_for_each_possible_rcu(name, obj, member, key, cond...) \ hlist_for_each_entry_rcu(obj, &name[hash_min(key, HASH_BITS(name))],\