Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2358667lqp; Sun, 24 Mar 2024 15:34:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdExyX83JahM1NOkO6UYqm2GRG3GTFxwNw68073wglO28S14LuOdW31ngUvEdt1UUg0prZnkLdJVcexc1Wl+0ZiRCZx35T2tXdBGbn9w== X-Google-Smtp-Source: AGHT+IGTEhcrMy1hFxZcFaXpmZhr7BTS8RfJeG2UDUf5zU5IpScOJN6UhArqCfSMtN4MjKXGoYiS X-Received: by 2002:a05:6358:4e10:b0:17f:88fb:5bd5 with SMTP id ld16-20020a0563584e1000b0017f88fb5bd5mr395277rwc.20.1711319688408; Sun, 24 Mar 2024 15:34:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711319688; cv=pass; d=google.com; s=arc-20160816; b=PA/33tcg9S3mwORQYQ4s/GtTEhtuMP58kKCUoMeBatRxSbd2uvJw1fPdD9R73/Zj4G 8kayAsL6gqLEjFGqxJ6/eQM6n+HLymHMbOjTTV+G30ElbJ1R5SUfHtXqAoCXnSZwTT4u ytla4bgqzhCveMPMTwFV3i85q8rShyLM+W/yDt+g3a+Ok7GO4WgF431LcPnxh6Y/o06I oQJKEU2cA0i80aDl9k1+YLV/+wyQtrh22GUrBQJpMdO+DAGUm1dq68s4HmzE5Y5U2Uxz R2N+ToY+V3G2Uvzu7Jtp8sywFqEPY1w4pyTHoJsEiyNuAPNsCPr+ucZ74QGMw4Bk6qEX y/zA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature; bh=8vg6DKo7pmohO9e53wVPKI3PJtqwPw3kiGTVfZV5+Bk=; fh=bnEUYXCBNzULC0l+7YZ6IM+FXDrHnLLZJzP8uO9RA0k=; b=FOgELZ/jgzphYz33Vnv/iVnXaEfdoq4xsNBpw56MYCoPBlJG16cyEETrHUcyLiHAqD TA2N+OCPupjrxwFN7J2fc1k0KvIE9jHAEafFC26KLCAiQyCXUgkCJtU+T4PuTzfnuzLb u3pqmjgWd8n3o1NknDfkcQ03fslHlQHiYO19zrp3srvMD1zmVNj5cvKpYeuZwfoI9/SA 4hcNinGrrBDGxVw405/8wRUsYTZph0gR7UwP5mQJ/aBcO3bs73ZDikKLl2ydJopmQTIw JOW2KKOIo3avlHK2SII+MYdI4uvBTOVCqDy9Jk1iwgly1oeW4W7DuhR2SZzXqmYjKyH5 kWjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OY25uz8f; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w4-20020a63f504000000b005cf647f85c9si6338711pgh.752.2024.03.24.15.34.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 15:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OY25uz8f; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 98232B210D3 for ; Sun, 24 Mar 2024 22:34:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A38A3F9FC; Sun, 24 Mar 2024 22:34:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OY25uz8f" Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C33741A38D3; Sun, 24 Mar 2024 22:34:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319660; cv=none; b=IdTNCRD4R1MxtGjab6Ht/dJHskgypREta1yBT5Kq6t60z6awZQWgqUu8oN0IzQigLo7X1UuX0C08oMCB60acm0FUagv2BapyqVqUqCImhcQPzbRj2ftZ7IdlVmg+cn+gTQv0AhoykKcpLgi2mT3EjGKzGasmLtwbPZc+pVSK5E0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319660; c=relaxed/simple; bh=T8jE1fNZfbPD7fRxzoZy3IXaoPYSqWA6sjSsFVqxxLU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pTP2F0KPHRz1ea5P2Pj6HF9H3TXH44yvpeTBVpnoKxbcevCluS5JiEnEU9y0Xp09bDhkwYP5NVyrodbz9rfBPvLQFz8JplwcKsBc9IFI4H7UdKLnGBq7ggXoJsth6k/JgkREmG9qVtK6uKZnkeMlWjagcC7v/Hio49DuCxTf08I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OY25uz8f; arc=none smtp.client-ip=209.85.222.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-78a5580333bso29496985a.2; Sun, 24 Mar 2024 15:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711319657; x=1711924457; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:feedback-id:from:to:cc:subject :date:message-id:reply-to; bh=8vg6DKo7pmohO9e53wVPKI3PJtqwPw3kiGTVfZV5+Bk=; b=OY25uz8fllWafBPnMi/tSTt+NGPNSLNT5/19vxVFszFm8arBv9txzwzG8TRvpSarj5 vD3yCkC5M3zKz8+wszvviT9fQbH4DoI16zaSXunCcMv86esKMnzuGI6spk0Q41E+xyzj FBlq7MsgyiZVsgXOb4soiKi8guO3aD/Sem1BA2B7qDCQNDe4bUWTPuiUf3A1BqD5WnnU X+PlaKhmowRhRL0vgxlzyAoBIOsME8GnvwL0LoMq4hCc1t0pqPSI+gysD+nfO0KPz6Lu /2rBZm7IXp+Yo244E23Nwa3weDsOjj1ccZj87iYady47n8IaaFPZoynEKkv09zltH3Q3 /e7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711319657; x=1711924457; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:feedback-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8vg6DKo7pmohO9e53wVPKI3PJtqwPw3kiGTVfZV5+Bk=; b=dwAhYvajDK1qmQbBZKbGAu6bm6fu6LNi3Qwkuetr/CE+ba4YxPx6FoOdzBqt5lrPs8 gnrG1L/uFJqPuaiCxIyzb2XQ+3KK0ym9FXdFiFcjXcMwQm0Sxuog0IYgp77LO5LEaP8b M1D3yIr646g82AqYGN03M+iybtCnuZ4dtfAxvaujnjqMhXh704bTR/lUIafDkFr9jL7R 9ZRvNr/HyuVdPbfHg6u+WYaUL8gHGKlan29bWOP24EPRiN+QmZOnkyocRBB/shBv15Oy xdEAvAK7+COhwMq3bEfsV8FBJlVviCYjHo40NS7z3UeMRSzBq4LU+2qAbBpA9Tqa+Zep V+zA== X-Forwarded-Encrypted: i=1; AJvYcCU+ZPGGngwBVbDKqKa83BgRPWtyWneKt1h8hfDsStW9VtQuxnvZsJtWEbfBA5VbB8WV6lFqfNYPCmwgGWHGbizI+hCB7JgGk6th7lqP X-Gm-Message-State: AOJu0YxGwtM383GXYQH0zc3GcGPOfx0NcZS8D0WAI9Feh2ov5q/puc+w AdG5HHT8jCkhkYG6PBRc7xLCgh39E8eWGZVRP9huqSkQOedtFx0s X-Received: by 2002:a05:6214:f07:b0:696:7ff4:7f09 with SMTP id gw7-20020a0562140f0700b006967ff47f09mr5468198qvb.54.1711319657700; Sun, 24 Mar 2024 15:34:17 -0700 (PDT) Received: from fauth2-smtp.messagingengine.com (fauth2-smtp.messagingengine.com. [103.168.172.201]) by smtp.gmail.com with ESMTPSA id q1-20020a05621419e100b006968077890csm1588628qvc.118.2024.03.24.15.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 15:34:17 -0700 (PDT) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfauth.nyi.internal (Postfix) with ESMTP id E32DD1200032; Sun, 24 Mar 2024 18:34:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 24 Mar 2024 18:34:16 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddtjedgudeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeeuohhq uhhnucfhvghnghcuoegsohhquhhnrdhfvghnghesghhmrghilhdrtghomheqnecuggftrf grthhtvghrnhepgeeljeeitdehvdehgefgjeevfeejjeekgfevffeiueejhfeuiefggeeu heeggefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epsghoqhhunhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqieelvdeghedt ieegqddujeejkeehheehvddqsghoqhhunhdrfhgvnhhgpeepghhmrghilhdrtghomhesfh higihmvgdrnhgrmhgv X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Mar 2024 18:34:16 -0400 (EDT) From: Boqun Feng To: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner Cc: Alice Ryhl , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , benno.lossin@proton.me, Andreas Hindborg , John Stultz , Stephen Boyd , Valentin Obst Subject: [PATCH 1/5] rust: time: doc: Add missing C header link to jiffies Date: Sun, 24 Mar 2024 15:33:35 -0700 Message-ID: <20240324223339.971934-2-boqun.feng@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240324223339.971934-1-boqun.feng@gmail.com> References: <20240324223339.971934-1-boqun.feng@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The definitions related to jiffies are at linux/jiffies.h, and since `kernel::time` provides the functionality dealing with jiffies, it makes sense to add a link to it from Rust's time module. Signed-off-by: Boqun Feng --- rust/kernel/time.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/kernel/time.rs b/rust/kernel/time.rs index 25a896eed468..bbb666e64dd7 100644 --- a/rust/kernel/time.rs +++ b/rust/kernel/time.rs @@ -4,6 +4,8 @@ //! //! This module contains the kernel APIs related to time and timers that //! have been ported or wrapped for usage by Rust code in the kernel. +//! +//! C header: [`include/linux/jiffies.h`](srctree/include/linux/jiffies.h). /// The time unit of Linux kernel. One jiffy equals (1/HZ) second. pub type Jiffies = core::ffi::c_ulong; -- 2.44.0