From nobody Sun Feb 8 14:22:15 2026 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 539E7C77B73 for ; Mon, 5 Jun 2023 15:09:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234335AbjFEPIr (ORCPT ); Mon, 5 Jun 2023 11:08:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233869AbjFEPI3 (ORCPT ); Mon, 5 Jun 2023 11:08:29 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBBE8F3; Mon, 5 Jun 2023 08:08:28 -0700 (PDT) Date: Mon, 05 Jun 2023 15:08:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685977707; 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=lPvniRN85F5LDeg7caFtgDnbmQJLdoJbuifWN819z0o=; b=Fnv+cKQBVWfjD5V8wfSeBcaprb7QMhQPldfVYFQAiol5nkmsPrO/ESEcnXgHOv3EdpqFSi 3yCRiVUCAJfx5OM+oSju8KDZV6i2V3bw+SX2YM1dyUBDOxprf79EiNTgYp6GSm78YtxHq+ cR1oyTYG+ZYBgYsugAe/bEh2fOtg3sDLndctlfrWDN/ciEa3d5mSEJCNtR6JyE9XRZN2UN Gom+opjfIqHT056D4plkAKQDCfFgMxtORPelsAPBnCz/VN8+v5Hl3VwDmM8hMV//vQBZXx sYI93bvh6sVzIdZSHFuzqKP493CXtErMpgOmGLJ/5dqETfcDIYGjgsc9rPNwwA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685977707; 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=lPvniRN85F5LDeg7caFtgDnbmQJLdoJbuifWN819z0o=; b=TSJNxF9AN0zM90yvtyNtVDuI1G13g2pKApPk6rhO+YE2UTAmueVEDV2xC6+QjU788GyVI8 bbKHwI3pnbvqUjCA== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] posix-timers: Comment SIGEV_THREAD_ID properly Cc: Thomas Gleixner , Frederic Weisbecker , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230425183313.672220780@linutronix.de> References: <20230425183313.672220780@linutronix.de> MIME-Version: 1.0 Message-ID: <168597770713.404.3226708313346173978.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: b73b3beb88c26d3d6c644920fa83460ec5f6a559 Gitweb: https://git.kernel.org/tip/b73b3beb88c26d3d6c644920fa83460ec= 5f6a559 Author: Thomas Gleixner AuthorDate: Tue, 25 Apr 2023 20:49:20 +02:00 Committer: Thomas Gleixner CommitterDate: Mon, 05 Jun 2023 17:03:38 +02:00 posix-timers: Comment SIGEV_THREAD_ID properly Replace the word salad. Signed-off-by: Thomas Gleixner Reviewed-by: Frederic Weisbecker Link: https://lore.kernel.org/r/20230425183313.672220780@linutronix.de --- kernel/time/posix-timers.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c index 5cfd09c..fb92036 100644 --- a/kernel/time/posix-timers.c +++ b/kernel/time/posix-timers.c @@ -53,12 +53,9 @@ static const struct k_clock * const posix_clocks[]; static const struct k_clock *clockid_to_kclock(const clockid_t id); static const struct k_clock clock_realtime, clock_monotonic; =20 -/* - * we assume that the new SIGEV_THREAD_ID shares no bits with the other - * SIGEV values. Here we put out an error if this assumption fails. - */ +/* SIGEV_THREAD_ID cannot share a bit with the other SIGEV values. */ #if SIGEV_THREAD_ID !=3D (SIGEV_THREAD_ID & \ - ~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD)) + ~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD)) #error "SIGEV_THREAD_ID must not share bit with other SIGEV values!" #endif