From nobody Sat Feb 7 21:08:13 2026 Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (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 42BDE332EC0 for ; Thu, 18 Dec 2025 12:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.186 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766061819; cv=none; b=ZqAsgUvhlgEyhhnN5sGnrm3/pqjiIM/OPOteROSqpW39nNuIILmK2E9sXQS2epGRAIhzJXaI20hkJ97M5+pV9KjcMna28TVcTgmALt0pC6Zi/AjbL1LF4iD2dhpBgyEE8D5MSEg8wjLMMSs/mhq+D+cNjKP6AvebIOxunEHjPlI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766061819; c=relaxed/simple; bh=PUyLWklv4eflUrePdv38Mrrjac/b6uS54y3K++MXjqY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NDh2iCSRjVcJoQ3vP2vqrfpBtaa1Nu+jdrzR2HHXocO56DAY0Y9mMFlbH882Q0E3IVF5D7uWq5H++pJ9GKNDbR4pNmb9u6B6igSRzUuBR8yRJsOI9QU0APm2/TvVln6b3I5ii4+tNm6vifVe6+aUZGV6KB+g8x8/BLYhdUGMCWE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Dy90Qy+z; arc=none smtp.client-ip=95.215.58.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Dy90Qy+z" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1766061814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2j3YwGo1ne2b6UKVwkqhhpTTjkoH8XdXRjHBOGdLIys=; b=Dy90Qy+ziMENzWpTfBPvxQ4GrdvJTMFNUhv55PcfgCAvZwwMEdhoJM1dCwDHdDm3xVTlq9 w/YBAXnsJxZhWkKXW7SzkJnFArPT2JP0VOI0iWsq7stL/PFUk497MkFzddud+UiAh2tJsX HVWE6Ju/GxZOevrU9YQ9vzvRzcJBB68= From: Thorsten Blum To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Uros Bizjak Cc: Thorsten Blum , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH] x86/boot: Rename boot_kstrtoul to kstrtoul Date: Thu, 18 Dec 2025 13:42:41 +0100 Message-ID: <20251218124249.381763-1-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The build error mentioned in commit 5fafbebc86a0 ("x86/boot: Add kstrtoul() from lib/") can no longer be reproduced. Rename boot_kstrtoul() back to kstrtoul(). Signed-off-by: Thorsten Blum --- arch/x86/boot/compressed/acpi.c | 2 +- arch/x86/boot/string.c | 4 ++-- arch/x86/boot/string.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/boot/compressed/acpi.c b/arch/x86/boot/compressed/acp= i.c index f196b1d1ddf8..8c7cb670a86b 100644 --- a/arch/x86/boot/compressed/acpi.c +++ b/arch/x86/boot/compressed/acpi.c @@ -188,7 +188,7 @@ static unsigned long get_cmdline_acpi_rsdp(void) if (ret < 0) return 0; =20 - if (boot_kstrtoul(val, 16, &addr)) + if (kstrtoul(val, 16, &addr)) return 0; #endif return addr; diff --git a/arch/x86/boot/string.c b/arch/x86/boot/string.c index b25c6a9303b7..7a145fb70a4a 100644 --- a/arch/x86/boot/string.c +++ b/arch/x86/boot/string.c @@ -342,7 +342,7 @@ static int _kstrtoul(const char *s, unsigned int base, = unsigned long *res) } =20 /** - * boot_kstrtoul - convert a string to an unsigned long + * kstrtoul - convert a string to an unsigned long * @s: The start of the string. The string must be null-terminated, and ma= y also * include a single newline before its terminating null. The first charac= ter * may also be a plus sign, but not a minus sign. @@ -356,7 +356,7 @@ static int _kstrtoul(const char *s, unsigned int base, = unsigned long *res) * Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error. * Used as a replacement for the simple_strtoull. */ -int boot_kstrtoul(const char *s, unsigned int base, unsigned long *res) +int kstrtoul(const char *s, unsigned int base, unsigned long *res) { /* * We want to shortcut function call, but diff --git a/arch/x86/boot/string.h b/arch/x86/boot/string.h index a5b05ebc037d..5bd2841f3947 100644 --- a/arch/x86/boot/string.h +++ b/arch/x86/boot/string.h @@ -29,5 +29,5 @@ extern unsigned long long simple_strtoull(const char *cp,= char **endp, long simple_strtol(const char *cp, char **endp, unsigned int base); =20 int kstrtoull(const char *s, unsigned int base, unsigned long long *res); -int boot_kstrtoul(const char *s, unsigned int base, unsigned long *res); +int kstrtoul(const char *s, unsigned int base, unsigned long *res); #endif /* BOOT_STRING_H */ --=20 Thorsten Blum GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4