From nobody Thu Sep 18 04:19:37 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A73FBC4332F for ; Fri, 9 Dec 2022 15:47:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230342AbiLIPrg (ORCPT ); Fri, 9 Dec 2022 10:47:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbiLIPrZ (ORCPT ); Fri, 9 Dec 2022 10:47:25 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44BEC32BB7; Fri, 9 Dec 2022 07:47:24 -0800 (PST) Date: Fri, 09 Dec 2022 15:47:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670600842; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JOOwBJNPMAhOXpq3k36p3Lw74niqTkZH1cWby86RAfo=; b=UKagibPQG/UNh7JwBRo1dMDPx8+F6KpkV+cA4ir+kzUUVpBKlP7d9g7ByWWzEgUS+sLjrd y/n+XSuSg5OTzBntRp8SKD8dWoRgUQ5rta4pSh4ZdzU+vfervRzjNYJ9hY2ShKW7yQp+K6 +RN+Fu5E/RmWI9V/2y0VtW1FR6m4zpt+MS+osOX/Xl8h9oHTaKf5jZnss3/tR1fkBb78zd mPTQc2cIuz82tXAdbw0hNSoIq3qBZ57vLnx7/SjxZ5wUBR4TkaHMOX7j0+yDzRhzeYV+w5 ZPkAlc/k1Y+AEOyhFBQBai8JhMnTsZe5syKwUb8jzEdIsefvn50hyWTVftKYzw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670600842; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JOOwBJNPMAhOXpq3k36p3Lw74niqTkZH1cWby86RAfo=; b=AJevUmf6gvbvuqB242D1DcE3nvJA38+vTkuqJbyItclvGF4e5spcnDTScfnW/g7N13F6L7 5ir069NSomt1kWDw== From: "tip-bot2 for Christophe JAILLET" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/arm_arch_timer: Use kstrtobool() instead of strtobool() Cc: Christophe JAILLET , Mark Rutland , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3Cf430bb12e12eb225ab1206db0be64b755ddafbdc=2E16673?= =?utf-8?q?36095=2Egit=2Echristophe=2Ejaillet=40wanadoo=2Efr=3E?= References: =?utf-8?q?=3Cf430bb12e12eb225ab1206db0be64b755ddafbdc=2E166733?= =?utf-8?q?6095=2Egit=2Echristophe=2Ejaillet=40wanadoo=2Efr=3E?= MIME-Version: 1.0 Message-ID: <167060084243.4906.1276129889140707311.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: 4238568744c0a150d8901e7847092a0f871c938d Gitweb: https://git.kernel.org/tip/4238568744c0a150d8901e7847092a0f8= 71c938d Author: Christophe JAILLET AuthorDate: Tue, 01 Nov 2022 22:13:58 +01:00 Committer: Daniel Lezcano CommitterDate: Fri, 02 Dec 2022 13:17:34 +01:00 clocksource/drivers/arm_arch_timer: Use kstrtobool() instead of strtobool() strtobool() is the same as kstrtobool(). However, the latter is more used within the kernel. In order to remove strtobool() and slightly simplify kstrtox.h, switch to the other function name. While at it, include the corresponding header file () Signed-off-by: Christophe JAILLET Acked-by: Mark Rutland Link: https://lore.kernel.org/r/f430bb12e12eb225ab1206db0be64b755ddafbdc.16= 67336095.git.christophe.jaillet@wanadoo.fr Signed-off-by: Daniel Lezcano --- drivers/clocksource/arm_arch_timer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm= _arch_timer.c index e2920da..1695c56 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -97,7 +98,7 @@ static bool evtstrm_enable __ro_after_init =3D IS_ENABLED= (CONFIG_ARM_ARCH_TIMER_EV =20 static int __init early_evtstrm_cfg(char *buf) { - return strtobool(buf, &evtstrm_enable); + return kstrtobool(buf, &evtstrm_enable); } early_param("clocksource.arm_arch_timer.evtstrm", early_evtstrm_cfg);