From nobody Tue Sep 29 06:09:19 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 75DB729D26E; Tue, 11 Aug 2026 16:14:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786464867; cv=none; b=k9CdOQr3pn7lUbdRsuEt9ZZSkadDQCYaKRLlROpKhMvxXvLPNd7GK0LSWSDdNfflGTwjPBDo9lQ1/qA+1OgCr5HPS1/1BkJVRbV7AqjPcu+Dl8+wJkvWdhYDZNSDv3RKf+i86ahwNCUweEAsRGekDSQYhT2RsX9UlFThyVjhgwk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786464867; c=relaxed/simple; bh=5Ihjks1pKENrzza1as0NR/xnwddkVoKv/2fIGh/us/s=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=HINH9OFRcZKjEVlMxnE7ekhSmuicA08cf6MPeg+r1wlmjubj6brED5LxjaxV7WI/rxPO/wdibV2+wRMQGUvVDl6T47vpq7is06DGbsiwa9QXIGrAuZJkFoBEGwFOL9I2yAzoPMjkcFuSTfCbd3Sz4YlAHpeUZif+CXjorwGlLaY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=FqJTLm3l; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=YzY2mYah; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="FqJTLm3l"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="YzY2mYah" Date: Tue, 11 Aug 2026 16:14:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786464864; 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=mkcDAH0ZYcvZUAeIUqXcqYml02p4xZYWcgjZNQ9s8Gc=; b=FqJTLm3lVb+9VF21sA1YIwGNR/QXXJVqbfOuGQObvGMYcZg29KRYnmSsmXxOsKGT/aO8ea 1oQsptVZJlXjAiZgOPvQ3irCNAOFnsgEkFFAJhObm+5ewqIMlB5KF6olcKsZC2p8cUaHka SYPJ7scRXun71A83SLJzM7MHv5WvsSMNggxftdDy2tPNA/UCDkVVEyKFv8aAilM6sHRry6 4I/vkBmCWe5QvQwA8caAhTes3L03iOaEyG1cz6+O+YqMnn9Eyoeu3ubsNBvjcsvhyPnH5+ FMIBISIPUmG4Mjs3fQnyNKe8t4HixEudO+4ZcCqiabRc9Er9FhxkfG5IC5cTpQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786464864; 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=mkcDAH0ZYcvZUAeIUqXcqYml02p4xZYWcgjZNQ9s8Gc=; b=YzY2mYahX1ttice29b4ax6ZMOUrxmreq0TKbIL2jp4ZpBwUmQOrt6tPDt4J2ENpyQu6UJx YHy+8p5g/iXSTUCA== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh_=28Schneider_Electric=29?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] timekeeping: Rename clockid_aux_valid() to clockid_is_aux_clock() Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260803-auxclock-nanosleep-prep-v2-1-910cbd485390@linutronix.de> References: <20260803-auxclock-nanosleep-prep-v2-1-910cbd485390@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178646486302.442315.15267426117798862446.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/core branch of tip: Commit-ID: 4f39d3c19bdc6b9cd4a8de7cbc563264cac9a348 Gitweb: https://git.kernel.org/tip/4f39d3c19bdc6b9cd4a8de7cbc563264c= ac9a348 Author: Thomas Wei=C3=9Fschuh (Schneider Electric) AuthorDate: Mon, 03 Aug 2026 12:04:32 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 11 Aug 2026 18:11:19 +02:00 timekeeping: Rename clockid_aux_valid() to clockid_is_aux_clock() The current name is not clear about its behavior. Rename it. Signed-off-by: Thomas Wei=C3=9Fschuh (Schneider Electric) Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260803-auxclock-nanosleep-prep-v2-1-910cbd= 485390@linutronix.de --- include/linux/posix-timers.h | 2 +- kernel/time/timekeeping.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index 4117827..9a1a0c6 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h @@ -37,7 +37,7 @@ static inline int clockid_to_fd(const clockid_t clk) return ~(clk >> 3); } =20 -static inline bool clockid_aux_valid(clockid_t id) +static inline bool clockid_is_aux_clock(clockid_t id) { return IS_ENABLED(CONFIG_POSIX_AUX_CLOCKS) && id >=3D CLOCK_AUX && id <= =3D CLOCK_AUX_LAST; } diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 4e6d594..d02103b 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -3101,7 +3101,7 @@ static inline unsigned int clockid_to_tkid(unsigned i= nt id) =20 static inline struct tk_data *aux_get_tk_data(clockid_t id) { - if (!clockid_aux_valid(id)) + if (!clockid_is_aux_clock(id)) return NULL; return &timekeeper_data[clockid_to_tkid(id)]; } @@ -3196,7 +3196,7 @@ EXPORT_SYMBOL_GPL(ktime_get_aux_ts64); =20 static int aux_get_res(clockid_t id, struct timespec64 *tp) { - if (!clockid_aux_valid(id)) + if (!clockid_is_aux_clock(id)) return -ENODEV; =20 tp->tv_sec =3D aux_clock_resolution_ns() / NSEC_PER_SEC;