Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1245712rdb; Wed, 20 Sep 2023 04:05:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVYgPAbhW3iGtMdFl/3mho0mX0OXxg5bVyIpycP/T/Sf5+JorjD44jaJDXGcBiH0Zg7VhH X-Received: by 2002:a05:6a00:2185:b0:68f:b5cb:ced0 with SMTP id h5-20020a056a00218500b0068fb5cbced0mr2306913pfi.34.1695207915771; Wed, 20 Sep 2023 04:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695207915; cv=none; d=google.com; s=arc-20160816; b=iX9563xNbNkGrlsKRw4O3guzbjyFvB9eTBwqaJ5xvh2zUXKP3NlDHc8oOYVAz3tPje YLfKq7AfpFR5qEIif0ASGShF4YE5xW/DwlQh/PWrX2rOxwRU3Ba13MnAQseSK6dpk2Su L5brVmQ2IG+8VWOhCiL/QneAOZls56ecjPf0+k+0VXtydOktpmujPxvFwuG3eLOMa/zd ru6Ncw/DkHpjQBxmY/Rwfx0NGwpgaV3N2KLZ6JV8lbq9LtHCHUaeyBG5NB/HvP1mANZV mx4KWiW/NPs2HCaDhGFuUNceSr+4WoHIYu9bknruioRWr0r/kaaoHJK4Wbc+3FcdDqky c0wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=bKmNpz9hUhRlU3vCtsv3VLDI8DR/CU/kQ8flWeMTQ8w=; fh=caD9FuttFWfNTiBDS1NX+TxHTc7uPs5M8y9CVBYrqec=; b=Px5x7KpKqd39nXCtJoHolZ4TRG2dOBH30OW9zcyb38hT838EV8JfGLgmiU9CsNhxbJ n8EIbwaghIRVeW8/mL0QCtNwBEVzvMNiWpmrATrlIKDQ6KnPYwKp90uIQ3orypuxjANK yzM+qt3ZVo7bP39T9ow0n5OAdR+g4fu4njKNGeuZoAD0xZOgaqDxqrW3WCuuXd+hcWDk yiNOuM302Cn9cJnc22swvynPAoQ7S37k87ZymIsZwyfVCxd5dDR3fYqssMkeIqtjoPlG q/Ua2UZ/RnGpKN7Httfi6YtR9BhlX6wudLAHmRO9xCOM234/axHxDFIT57bNJ0tpEsMO /L8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R5xkn5o2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ay7-20020a056a00300700b0068fdb00659bsi11673003pfb.366.2023.09.20.04.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 04:05:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R5xkn5o2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0ED0E806E1DB; Wed, 20 Sep 2023 03:56:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233970AbjITK4M (ORCPT + 99 others); Wed, 20 Sep 2023 06:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232327AbjITK4L (ORCPT ); Wed, 20 Sep 2023 06:56:11 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DFC83; Wed, 20 Sep 2023 03:56:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39A34C433C7; Wed, 20 Sep 2023 10:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695207365; bh=2lvWKZq1kkgMVRjSFXH0qaW7kcSUpEvRXiD7Sam0A3k=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=R5xkn5o2U3BPYy2wxiFVeX5w2GXFbZkB/MJXKi8G5BTm6PXt1LD6Km50vkV4ufnA3 i23wKHdkNj/A7OyuhACJf7xtiIlbft3zQjzLUTW6ZyUsuzvNHl/bQyiY20M09QNj/K Ii1O9Iz8qFXlcQVoUtC69rzlZzTz9iIiQdGSzh50ddtOMAxafZ43Z9YNn7yTNhn8XT 9dnScsC5R3JJRJm5ohTOuggAKbNLCGQFjkCVP/cI3PacDHQOhkOyWCIFSk3kqVuyE+ gpxUxODnFZiUheI3ONDr0ChDQfsf9P8A22QJrNRpcRJaIQMr4Gm8Lvi1omnrojJPcv BYCwaQ1zMKZ5A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 129DECE03D5; Wed, 20 Sep 2023 03:56:03 -0700 (PDT) Date: Wed, 20 Sep 2023 03:56:03 -0700 From: "Paul E. McKenney" To: Philipp Stanner Cc: Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang , rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rculist.h: docu: fix wrong function summary Message-ID: <3b99763c-4380-4550-8c21-66cb8c80cca6@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20230920092211.11371-2-pstanner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230920092211.11371-2-pstanner@redhat.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:56:16 -0700 (PDT) On Wed, Sep 20, 2023 at 11:22:12AM +0200, Philipp Stanner wrote: > The brief summary in the docstring for function list_next_or_null_rcu() > states that the function is supposed to provide the "first" member of a > list, whereas in truth it returns the next member. > > Change the docstring so it describes what the function actually does. > > Signed-off-by: Philipp Stanner Queued and pushed, thank you! Thanx, Paul > --- > include/linux/rculist.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/rculist.h b/include/linux/rculist.h > index 4837d8892691..fd0ed1550a7c 100644 > --- a/include/linux/rculist.h > +++ b/include/linux/rculist.h > @@ -355,7 +355,7 @@ static inline void list_splice_tail_init_rcu(struct list_head *list, > }) > > /** > - * list_next_or_null_rcu - get the first element from a list > + * list_next_or_null_rcu - get the next element from a list > * @head: the head for the list. > * @ptr: the list head to take the next element from. > * @type: the type of the struct this is embedded in. > -- > 2.41.0 >