From patchwork Mon Jun 5 15:08:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 103320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2753095vqr; Mon, 5 Jun 2023 08:09:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4CjT2IuJ5AHY+KFexrKKfaKselv3ASCFsV8ClPZccsSRhGINLFxgJwGYefhuAH+wsuyWRB X-Received: by 2002:a17:90a:12cd:b0:258:c4b5:c6b8 with SMTP id b13-20020a17090a12cd00b00258c4b5c6b8mr4031719pjg.11.1685977791007; Mon, 05 Jun 2023 08:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685977790; cv=none; d=google.com; s=arc-20160816; b=aXf37p/TTe6q8IJs/CPt0JyV4QpcYLT69nsMXfmrCk1AfwrKcfp+wNdkkAXy6NKb4s rXSYy8HB8LiMv/SMM5By475VlSoGUDEnwvSRsNe0lf6zImxHdhe6uc2DTpmU5Uraw79A 3tJcTmxcdrHAWTq0mFTkPe365fuxoy6aNJsdjg3kFcksN1JU7W1toqgyKkTjgo5P03qB SxKgxvXi+WmJsU/mnsAVb5Q7hzf0BhFUoTDu1KIBJmBeJdEVVIzbLlTNtQ7mO9C1dTh9 kM+l5SC5TcAOpoD5Yx+jEkGE9nZTJixdNzxBT0S66KVK4h7hAiT7/RZTEb26UaEXpH9f XB1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=lPvniRN85F5LDeg7caFtgDnbmQJLdoJbuifWN819z0o=; b=XbjNUJ0hDp17R2fjzbvlONlA9ihMdVHL73piEKfbHV4Vre2WjUeYTt6mJpefM+Xkd+ o5LiQrvjhF09IUWkFRdMsOH+ZoVqd7P+Zh6xzxdjgTG2KgHdCEnDVF3tPrfJj6VoNy1Z NNXV0Q6os+4syc6nMcO7db09O1rzqmcWSVkCkP4r2SZ5Bfk6B5X28E+9O7Hn5WbV8oIS EJ8yxQu/brUbh876ug0D+wApAcs5sFHl8t+1QPu7LrULyUk1VojnbFRve1dj1AX4wCh9 S3j2TSR7g7Kokhnx9OOX2wgkxqsMDWhjUkauxlvi6XGXA5P/H7pfLFzrWbWsDvDPD1CU 3vdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Fnv+cKQB; dkim=neutral (no key) header.i=@linutronix.de header.b=TSJNxF9A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e63-20020a636942000000b00543c8ad57f1si679961pgc.67.2023.06.05.08.09.38; Mon, 05 Jun 2023 08:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Fnv+cKQB; dkim=neutral (no key) header.i=@linutronix.de header.b=TSJNxF9A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234311AbjFEPIr (ORCPT + 99 others); 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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764175347728024119?= X-GMAIL-MSGID: =?utf-8?q?1767875848532284100?= The following commit has been merged into the timers/core branch of tip: Commit-ID: b73b3beb88c26d3d6c644920fa83460ec5f6a559 Gitweb: https://git.kernel.org/tip/b73b3beb88c26d3d6c644920fa83460ec5f6a559 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; -/* - * 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 != (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