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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EDE60C433FE for ; Sun, 30 Oct 2022 01:49:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 79D0E85159; Sun, 30 Oct 2022 02:47:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="HHMp6AjR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07C608512E; Sun, 30 Oct 2022 02:47:46 +0100 (CET) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AED3385120 for ; Sun, 30 Oct 2022 02:47:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2d.google.com with SMTP id h206so3983063iof.10 for ; Sat, 29 Oct 2022 18:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=N+oezMrMcqsRTnwE1TYPG5yFlG2vhQyDxeMH/XbUxKM=; b=HHMp6AjRmJAw9xIuI+BdxAgQfljMUwR6Oj6A05uxquQCzuhAmEWT+BfxfZqw0s/a+o NviK8x3Trq3f+F15ycNt3rcbYVMyFO06ke1gVBB1ERWS7F+l1Nk421JJE2AoJVGFWWDc BDFl16LEXmiAZ2Det5Mhc0UZsWOoKTImQhG8g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N+oezMrMcqsRTnwE1TYPG5yFlG2vhQyDxeMH/XbUxKM=; b=E8QIaYjBtuPYU3gJLjyqKU+gIMrB7HMWPw+KGxMG1WeqrWtPVwpMWyjirFhwidy8SP cXxfFcWNgoGzXlVneoaBoOh487247XBD9m5TqF30syXljwxZv8AiiOKw6XK/xeqjxkfA gOQ8N10N1awanLe6gIDk1MbGncTpwkaGAnFE1yrTJ7cnHfbBvIjIZjqz/5Qfjl94n7pp l4lq0O+7ejIkC0DZA0LEUK2oDfCmOurc/IAui3tOPzQQTLQyHv3HasgRHpM8E5NRD0kn Xea7EQ2qLX8td0oL2Qv0V7usbMwUvxQ4/+vYXpHcTtBLfdNQBhTbnaR/XDAXENDMc8bu Bv/g== X-Gm-Message-State: ACrzQf0N0nGm01c7UIHYpU39j7yvjON00RBuKmqhjaJaB5gkJm6gXoiy iqNdX/QOkIUxIqRTwr0ugpba8U1gaOxPMA== X-Google-Smtp-Source: AMsMyM6ODsA05EYjtJLvZNm1vh47kP0gBs38IsJ1FILzvmqJvNHYY8aN/6acSrnkLI1wew4HcXELSg== X-Received: by 2002:a05:6638:3817:b0:375:bb1:48a7 with SMTP id i23-20020a056638381700b003750bb148a7mr3273637jav.313.1667094462104; Sat, 29 Oct 2022 18:47:42 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id x66-20020a0294c8000000b00363c4307bb2sm810287jah.79.2022.10.29.18.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Oct 2022 18:47:41 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Heinrich Schuchardt , Simon Glass , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Rasmus Villemoes Subject: [PATCH 02/17] sandbox: Add missing comments for os_alarm() Date: Sat, 29 Oct 2022 19:47:04 -0600 Message-Id: <20221030014719.147327-3-sjg@chromium.org> X-Mailer: git-send-email 2.38.1.273.g43a17bfeac-goog In-Reply-To: <20221030014719.147327-1-sjg@chromium.org> References: <20221030014719.147327-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Add the documentation to avoid a warning with 'make htmldocs'. Fixes: 10107efedd5 ("sandbox: add SIGALRM-based watchdog device") Signed-off-by: Simon Glass --- include/os.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/os.h b/include/os.h index 54874f5e0e8..0415f0f0e7a 100644 --- a/include/os.h +++ b/include/os.h @@ -110,6 +110,10 @@ void os_exit(int exit_code) __attribute__((noreturn)); /** * os_alarm() - access to the OS alarm() system call + * + * @seconds: number of seconds before the signal is sent + * Returns: number of seconds remaining until any previously scheduled alarm was + * due to be delivered; 0 if there was no previously scheduled alarm */ unsigned int os_alarm(unsigned int seconds); -- 2.38.1.273.g43a17bfeac-goog