From nobody Thu May 16 09:36:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.67 as permitted sender) client-ip=209.85.128.67; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f67.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.67 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1600617046; cv=none; d=zohomail.com; s=zohoarc; b=AY0/ctSRubVmVvKcfiCfd1WCQTLyfwiDlz4U+rAx7JYnH8wsoO2oARXSKDoxRpkUuf02SKIFG5//hf2KhwLBxZQpFMFTN05okKB3himJE5+xrI+Fwgt+wULwYVW6yAuvxlervoN+NFsmpAYEJBDV94fid52kPmUBWyhnk/px98w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600617046; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Sender:Subject:To; bh=KFR5/we5s3WUe2uUz6ZQg87dvvCvdsvvEg6rFlfDXY0=; b=H3J0oXw5OQp+diu1nms+NHnQgT0VmgJ52LPZgCdFPztdphNTqsg2uj1DgcX6W5A2BefpDCilXc2lRiKX/8pSPZtJhyRHfbTjfyDsii9pNBuct8lQSTpk2a0cMmSJs9ubpSh9NtWBDZ/hqld4hIr3vwvAFa68N4N9mDmlkF8u4w4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.67 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mx.zohomail.com with SMTPS id 1600617046012419.23089560403525; Sun, 20 Sep 2020 08:50:46 -0700 (PDT) Received: by mail-wm1-f67.google.com with SMTP id k18so10138218wmj.5 for ; Sun, 20 Sep 2020 08:50:45 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (65.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.65]) by smtp.gmail.com with ESMTPSA id h17sm16676179wro.27.2020.09.20.08.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2020 08:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KFR5/we5s3WUe2uUz6ZQg87dvvCvdsvvEg6rFlfDXY0=; b=oAhO50iot3jODr1jJW9HHeW1Y7yGoKeG/t5sCjoocdQq5FFfEQYANxovRon8RkSeYz /5hx6oIRVEIwZIT5+AfV9PknS47dkGUMfBsTPZsREYmaQGMHrwODxEfPavVg4RFoFwg7 5kehnqINwJS3iV0aKULm9KgHPAp1fPMNiSAL1HDqYLhYuQJgg+wRIZWd8jP7QX4VPCHi PaOtFNqmtmwQ0cw9Y9TsRf9WDFx5DQZLC2rBZxlm9xJxlR9tNqUwe2PpPy7uyvzE20mp mtwQ89RVaHUAh4ipX6ER/KM31HD/DVcxB4PfmiRRUUil0y4fEWPV+KD/+jeD/pZNWZjo r2eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=KFR5/we5s3WUe2uUz6ZQg87dvvCvdsvvEg6rFlfDXY0=; b=rpPvTNMM+KNcym7xKoivN5nBgB86S6fsbw5nlwe2LN01fXoepOv+XMae+9fC9Eo66E wd703OmXKqvHUM8/Bg279AG4RNtRYsdkck1RIJ+AeO+eOfFBbPJ0qfuT4afxoXmLpiMC QT2oiR6J9B2MC3Reji+CAD1fqNr53hGxHsyYP7ADuV+ZZQlog92tZ7PIHVbDGhDKVmlf EuEhDksyt0NOw71QPENnLZlZ3WJJu0K+iavpOMoza7q5FJIW8DZt2QYeT09gkqO9OPce Z90x+tgH7cJDVmjmnPF8NN6jF8+T+IZQSXcINPLLLT9PheXh1No3vNDb3h30AsyRAk1/ ijgw== X-Gm-Message-State: AOAM531OsHOXFAega5l1uLrkPNcgzQD3Erk9e2j2P20JHfcYV0XNcOpP /GcpXx+MdL3DJwyIolOgZ1s= X-Google-Smtp-Source: ABdhPJyPQqunJZQJTPmDVBI8c/Bts92c5AzzXWGJT9NPtW7TrM71Ak5bwt37Q0Mw/QIctosobwxwGQ== X-Received: by 2002:a1c:e0d4:: with SMTP id x203mr27641965wmg.91.1600617043966; Sun, 20 Sep 2020 08:50:43 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] timer: Fix timer_mod_anticipate() documentation Date: Sun, 20 Sep 2020 17:50:42 +0200 Message-Id: <20200920155042.400737-1-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) timer_mod_anticipate() will be scaled to the timer unit, which is not always nanosecond. Fix the documentation. Fixes: add40e9777d ("timer: add timer_mod_anticipate*") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- include/qemu/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qemu/timer.h b/include/qemu/timer.h index 6a8b48b5a9d..1dc880e94e7 100644 --- a/include/qemu/timer.h +++ b/include/qemu/timer.h @@ -679,7 +679,7 @@ void timer_mod(QEMUTimer *ts, int64_t expire_timer); /** * timer_mod_anticipate: * @ts: the timer - * @expire_time: the expiry time in nanoseconds + * @expire_time: the expire time in the units associated with the timer * * Modify a timer to expire at @expire_time or the current time, whichever * comes earlier, taking into account the scale associated with the timer. --=20 2.26.2