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 9441415AF2 for ; Wed, 20 Sep 2023 12:40:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DAA0C433C7; Wed, 20 Sep 2023 12:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695213611; bh=25YBWms08YU/Tp/sJwBOCs755RFlWUEL1WgKsDrOOSA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XjYkfog5siOdQRa10CxX/xqY84Pxuo3h6bvjNhoW2TmktwWEQV9pRzuxIsEvvcWLa 9yjmzDu6XRMFBRsx57O++sPXO2J8gUp18E5waKOCLeFNV7z0ykx4R47v6SYbEeqcLa fPM29lhwOp5g8o0W02r7IAb7afrHGJgGCfe5UawY= 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 5.4 274/367] idr: fix param name in idr_alloc_cyclic() doc Date: Wed, 20 Sep 2023 13:30:51 +0200 Message-ID: <20230920112905.656557863@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920112858.471730572@linuxfoundation.org> References: <20230920112858.471730572@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 5.4-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 b2bc190431ddf..a91ca1dfe1431 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -100,7 +100,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