From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6533115AE7 for ; Wed, 20 Sep 2023 12:18:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBC92C433CC; Wed, 20 Sep 2023 12:18:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695212293; bh=GYidS0RDR2mVwszeBIhJulfYLnKUpr2TylbdeG5uEp8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xA00N3F6MN9rZRgd2yHbmg3tIjGREAZwuxWJuWM7CeUZuyggBwvSw0hsLjrzXub6b ux9QcXeDNfNTCfytSQOuTZvWoE7AohpiGO+/u18sESkA3KYdTZ5/J+jdRuT6NRkviP CKlOOZAuzGxjKZ9P3rOc6128xeH0Q14T7K3krFpA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ariel Marcovitch , "Matthew Wilcox (Oracle)" , Sasha Levin Subject: [PATCH 4.19 222/273] idr: fix param name in idr_alloc_cyclic() doc Date: Wed, 20 Sep 2023 13:31:02 +0200 Message-ID: <20230920112853.277760942@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920112846.440597133@linuxfoundation.org> References: <20230920112846.440597133@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ariel Marcovitch [ Upstream commit 2a15de80dd0f7e04a823291aa9eb49c5294f56af ] The relevant parameter is 'start' and not 'nextid' Fixes: 460488c58ca8 ("idr: Remove idr_alloc_ext") Signed-off-by: Ariel Marcovitch Signed-off-by: Matthew Wilcox (Oracle) Signed-off-by: Sasha Levin --- lib/idr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/idr.c b/lib/idr.c index 82c24a417dc65..432a985bf7727 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -103,7 +103,7 @@ EXPORT_SYMBOL_GPL(idr_alloc); * @end: The maximum ID (exclusive). * @gfp: Memory allocation flags. * - * Allocates an unused ID in the range specified by @nextid and @end. If + * Allocates an unused ID in the range specified by @start and @end. If * @end is <= 0, it is treated as one larger than %INT_MAX. This allows * callers to use @start + N as @end as long as N is within integer range. * The search for an unused ID will start at the last ID allocated and will -- 2.40.1