Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1306576lqz; Mon, 1 Apr 2024 01:48:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWiLCb93XFTZntiksZooCTmEJVsEQTpKoxHQ1XuSOE+omCh1ZGQ33RtehFNCwQqdnjQuAS+uwRTSB/CfKjXsfwdrnITONq3EohqMkuNgg== X-Google-Smtp-Source: AGHT+IFoEugfoBRXn0CKG2mo5eGcpk1NDDztGwE2OrPJQcfxtYtjZqHOhI7KLI7rMcOqSrNnFMqx X-Received: by 2002:a37:c401:0:b0:78b:d2e7:277e with SMTP id d1-20020a37c401000000b0078bd2e7277emr7024266qki.16.1711961327303; Mon, 01 Apr 2024 01:48:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711961327; cv=pass; d=google.com; s=arc-20160816; b=qTpI7R0FcNPMvZL3KVb/KbfV33cDgi+v7qNyAtanb1IO4gELRraMP92Gq7upMrDvS/ yRFHH/NjC9oO6MfrDfA5r4wnpnI0lggow1BaKE0jWId/+gHKiHU7EhH5mVsbOGAK70sr 7wXu9xZ2X3TV0Zn8SnxAKoacnJSg8Or4czPAsLTAcOT4jO6R4dqqgPULmsi07qKaKzVO dUIbo3qnYwpVpwf8An0uisnC1Mu736neKphdUZIPql2dILV84c56fvhbISE910o/5g7i DBhXSBml54QHWZ+wDg3T3cgRjP5oAa5dtCQdpWQiKqwZtw+3KQIDzjt9F+BjsNkMq/UB nvng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=tT14vYFP0qY/qgfVqmeAifMWAGxB+rk3t3spYOi3ibU=; fh=kdaQysqoArc8RiE6XLHPrccysMGcxXHlz9n7XFHqouE=; b=jrJX0OJxuqsJKJlu2u9Qg/lR0vmSRPdHB+Kg9BjRMVMSz/IGDBWSlPTFcZ5dKLrzzR AIo7fh9gB3h1TgH3AeBZMklZ/JUGzJuWKnm0ckgzqmpPwRqDfXU19zrvU1n7kCq+IfKm 4ZcATQ1Rc9Kj9Mt34ot4z0JWrT9gGWTOhEh5VoDBYgYc+JDGGy3PQAfA/nRouINoaHm1 L2TIPQ53Q8PAf7j1w0YDUFvDYRspBlrRc2OmXdTUixj8M/K49sRbu1GZmSCDkcjxPNP9 dzRh+iLmm+w5APkplH3H3ENCphOPej9dX+oc5LqlG30kff9+GN2FN/bNDjPOgwLe0M+s +X8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YaSBM0ER; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=33LvHL+c; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-126531-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id xx17-20020a05620a5d9100b00789d98587c0si9116639qkn.619.2024.04.01.01.48.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 01:48:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126531-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YaSBM0ER; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=33LvHL+c; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-126531-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A01C11C21201 for ; Mon, 1 Apr 2024 08:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC1761095A; Mon, 1 Apr 2024 08:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="YaSBM0ER"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="33LvHL+c" 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 5E462B671; Mon, 1 Apr 2024 08:47:37 +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=1711961258; cv=none; b=N86xbvpxYTvMEO4FpV790/i6NtsKYqHoVvJdnyYu0mjNpzmlMK/3WIaE2fHDJhTkPEc81j89fKAgKpQnQAtq+S0P3sdUukJVje9E1Ud0L2c6YPRRRwWk1o3u/bXQZhHfCoyS46wzrjDS0eIw+OgzE/RUV39dDspZVNX0I4O0oNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711961258; c=relaxed/simple; bh=3QJiXN+S8g981brhJPz9S0dz7Cr961+cl1xWmQrsoBk=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=FhgRIn6oLzASWey/WPHmHFEDbbWYssI8pNH4XSz9SWnYufInot2JSgwoXJAU1vb9BgwDQ3kul/rlUZ9btz7hzaMx0YNpWiWiHjPw3nKz8OQuD+16oDvaH6E0Wt8tonTKRHCRWHvJcBjd8HKtHCRB8nXVCQGLs6wMHCGAQW9FvcM= 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=YaSBM0ER; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=33LvHL+c; 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 Date: Mon, 01 Apr 2024 08:47:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711961249; 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=tT14vYFP0qY/qgfVqmeAifMWAGxB+rk3t3spYOi3ibU=; b=YaSBM0ERcaJO4ahGOSU9Tv/WB1x1uLnUfY+QTdBfypX3//4FjDwDR00OFiZl1SkVI/migT m/sP7HRCzn4wOgnxxkE4+vxx2/IU5K3rsyC5MMzAg4BtOxx+HLYrRaDW1TB/5v1LCtMh9g eF7/uv7Kdrh6HAzdAGnMePOYgWBW+AfOENFjSuMUIfnFd086wrBrseqz1zwQ+Cn7y0MAUI qcAPFRNHNQ1n3LKyZnsA4Hn0Hf1G4WxZbbMkEXBmyXq1G+YprVl9ZBrDvWu4rZgpzgcEkJ W5K7OHvN4kJYMWoSqQi9LRTG2IfESYsZZ5CqOo4VoGQs5ZcHEcDqBifzuUQZgw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711961249; 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=tT14vYFP0qY/qgfVqmeAifMWAGxB+rk3t3spYOi3ibU=; b=33LvHL+cNPViiA/9trqnh53bA8INDTMDZYU/byKmJ7LQMgAkUNqZMyJopfWMdCBm7XEVOQ me1kzHcSBdT3fPDA== From: "tip-bot2 for Randy Dunlap" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/urgent] timers: Fix kernel-doc format and add Return values Cc: Randy Dunlap , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240331172652.14086-4-rdunlap@infradead.org> References: <20240331172652.14086-4-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171196124896.10875.16221502494016754442.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: 7bit The following commit has been merged into the timers/urgent branch of tip: Commit-ID: b87752ef5cc15b0bae04583d599e873d92dc0618 Gitweb: https://git.kernel.org/tip/b87752ef5cc15b0bae04583d599e873d92dc0618 Author: Randy Dunlap AuthorDate: Sun, 31 Mar 2024 10:26:49 -07:00 Committer: Ingo Molnar CommitterDate: Mon, 01 Apr 2024 10:36:35 +02:00 timers: Fix kernel-doc format and add Return values Fix kernel-doc format and warnings: timer.h:26: warning: Cannot understand * @TIMER_DEFERRABLE: A deferrable timer will work normally when the on line 26 - I thought it was a doc line timer.h:146: warning: No description found for return value of 'timer_pending' timer.h:180: warning: No description found for return value of 'del_timer_sync' timer.h:193: warning: No description found for return value of 'del_timer' Signed-off-by: Randy Dunlap Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240331172652.14086-4-rdunlap@infradead.org --- include/linux/timer.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/linux/timer.h b/include/linux/timer.h index 14a633b..e67ecd1 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -22,7 +22,7 @@ #define __TIMER_LOCKDEP_MAP_INITIALIZER(_kn) #endif -/** +/* * @TIMER_DEFERRABLE: A deferrable timer will work normally when the * system is busy, but will not cause a CPU to come out of idle just * to service it; instead, the timer will be serviced when the CPU @@ -140,7 +140,7 @@ static inline void destroy_timer_on_stack(struct timer_list *timer) { } * or not. Callers must ensure serialization wrt. other operations done * to this timer, eg. interrupt contexts, or other CPUs on SMP. * - * return value: 1 if the timer is pending, 0 if not. + * Returns: 1 if the timer is pending, 0 if not. */ static inline int timer_pending(const struct timer_list * timer) { @@ -175,6 +175,10 @@ extern int timer_shutdown(struct timer_list *timer); * See timer_delete_sync() for detailed explanation. * * Do not use in new code. Use timer_delete_sync() instead. + * + * Returns: + * * %0 - The timer was not pending + * * %1 - The timer was pending and deactivated */ static inline int del_timer_sync(struct timer_list *timer) { @@ -188,6 +192,10 @@ static inline int del_timer_sync(struct timer_list *timer) * See timer_delete() for detailed explanation. * * Do not use in new code. Use timer_delete() instead. + * + * Returns: + * * %0 - The timer was not pending + * * %1 - The timer was pending and deactivated */ static inline int del_timer(struct timer_list *timer) {