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 715BB149C51; Fri, 6 Dec 2024 14:53:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733496797; cv=none; b=sKbo4d7IqUBCPfrZJdrAoURMMYkZCuN5iFUZhNOSQaVzmZnjH+FYaFhQNMMZbcMJ+h1UH6EIo+KJYh4ROPjo8a2OyAyxUGAEO6FUlSNRkj5TYNB06njZMisW6GCiQk2X88bGNU+8RII3vOQMHjI4NfEYsDZWxZ2dN3V/GiUOafE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733496797; c=relaxed/simple; bh=M455fGKSUz8rJxIWpKboOqe7IyA4UQY1Xevj6xBhcog=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ghGPC/H+/YUcmWsoKGd3EG2am1wW8djMSwiQDAnn3H5Y4gYF5/T0UhrCruWiZeZE2eFg/LUJzzJqTgn9Y5bYdaApEHqAJ5oPDlY3DmxWnK67muNYzSKZlRzv6v1lFhy3s+kjmD+ScVzRJVIRbkw3dkV1D1cRL2DbfJ83Ilt6DPA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K7o28/+b; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="K7o28/+b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBAE7C4CED1; Fri, 6 Dec 2024 14:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733496797; bh=M455fGKSUz8rJxIWpKboOqe7IyA4UQY1Xevj6xBhcog=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K7o28/+bua9qdUyYHpFA+Hvu8agHkwUPgg4/wEPY7AKT4UfZGmwnpc4++3OGGQ3a0 sSKM51c0XkPTqx2KRMHM3KjMBkTER63FhLcVV+3aNyvCD90wxMtfdHjaRA0RfMcbT+ 0Yc0hjvfPlYg2nJRJ3CeIq6z0uYmT9aJGAtfp17U= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Miguel Ojeda , Thomas Gleixner , Sasha Levin Subject: [PATCH 6.6 106/676] time: Partially revert cleanup on msecs_to_jiffies() documentation Date: Fri, 6 Dec 2024 15:28:45 +0100 Message-ID: <20241206143657.499413580@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206143653.344873888@linuxfoundation.org> References: <20241206143653.344873888@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Miguel Ojeda [ Upstream commit b05aefc1f5886c8aece650c9c1639c87b976191a ] The documentation's intention is to compare msecs_to_jiffies() (first sentence) with __msecs_to_jiffies() (second sentence), which is what the original documentation did. One of the cleanups in commit f3cb80804b82 ("time: Fix various kernel-doc problems") may have thought the paragraph was talking about the latter since that is what it is being documented. Thus revert that part of the change. Fixes: f3cb80804b82 ("time: Fix various kernel-doc problems") Signed-off-by: Miguel Ojeda Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20241025110141.157205-1-ojeda@kernel.org Signed-off-by: Sasha Levin --- kernel/time/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/time.c b/kernel/time/time.c index 642647f5046be..e1879ca321033 100644 --- a/kernel/time/time.c +++ b/kernel/time/time.c @@ -558,7 +558,7 @@ EXPORT_SYMBOL(ns_to_timespec64); * handling any 32-bit overflows. * for the details see __msecs_to_jiffies() * - * __msecs_to_jiffies() checks for the passed in value being a constant + * msecs_to_jiffies() checks for the passed in value being a constant * via __builtin_constant_p() allowing gcc to eliminate most of the * code, __msecs_to_jiffies() is called if the value passed does not * allow constant folding and the actual conversion must be done at -- 2.43.0