From patchwork Fri Dec 6 19:11:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 847857 Delivered-To: patch@linaro.org Received: by 2002:a5d:50c2:0:b0:385:e875:8a9e with SMTP id f2csp952773wrt; Fri, 6 Dec 2024 11:12:57 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVU+Z/oMLnRDl1Yfxq+J6T1PuqESZ/zOtjLyYn64pzj6q+jBG5uNG61ehEIFHDqQ3oYILOfhw==@linaro.org X-Google-Smtp-Source: AGHT+IEPiRtbEWqLUBcWTMg2SZ0kqjfWo60TzsLIKriNWwCxhvPv7ydUYpRzlpYF/NbLlJgazLYs X-Received: by 2002:a05:690c:7082:b0:6ef:4cb2:8b4c with SMTP id 00721157ae682-6efe3c0da40mr52161667b3.23.1733512376792; Fri, 06 Dec 2024 11:12:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733512376; cv=none; d=google.com; s=arc-20240605; b=jSh+cju4Ug6BlVW6lxdWMG5erznYte0E/adNd1/4J0ywSG8WGVfHfqrTWvmLH/4w6z e6d0j8GSirIrYn+sqvVHQAv6xoyPraHjfjH9wzlvQLdpBGyHz91i8Bd7OlxvG6yk2OdB ZifL5LTbrEA6SsD/lDGbcZ8n6nWWbiZUNfycc5dpwPeeLsqD4k68ZAksNUuYN7JT/rDH 471cHxckKfEeAJSyM83RAi7UeSrMuuuLx3zEsdS9IL/tOARf2SEaG9NaS+HHhq/pgm0i a1Cl6yjVjBWQmGm9A8HmlmBPUBmS7tjO1lXlIVPfxN6wDaB88YgRWePRYRAJGshw/SoF hpSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Dd/n06KQPsRfxFeQobyHwXgQczMYXIkFQbqkcOigBrk=; fh=nor25M+9+H107JlZXKJGdGrH0Gd1Bpyuyq5I9vqTo+I=; b=bjSQUFSri9jdQ8esYng8OigdpO74p10S69rqJOCXwm8fTk6+XWU/G+wmOJW1GurmTT N+UVLtr2tR8xLJIVhSv4wbfq3UTxcUu58XNJz00Zx+dpyYe/GYcgoQM2JXTbqTEf5jpX oxE1RlkHz8r/EVYM43H2jU25igd/jX+iTGXIffLFGYPzBtJHWxtaA8s82MopJzfis15g +uJZ5g24Kt63Lu9K70BwJ/Y2XWsv2Ou0nr7bE0G3W3/FAPzHy/UNyfDTdl1SwfTqB/p3 hxdYOpn+tnYbkEr/mt7WDvB8nhps9rPeSmChiPSMaXXzhOtVi8ScmajgvrgfS486znC3 2RkQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yB6I9kHD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-46729860db5si25398951cf.643.2024.12.06.11.12.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Dec 2024 11:12:56 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yB6I9kHD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJdk4-0005wY-2U; Fri, 06 Dec 2024 14:11:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJdk2-0005w9-TT for qemu-devel@nongnu.org; Fri, 06 Dec 2024 14:11:54 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJdk1-0001f7-DN for qemu-devel@nongnu.org; Fri, 06 Dec 2024 14:11:54 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-434a2033562so22877105e9.1 for ; Fri, 06 Dec 2024 11:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733512311; x=1734117111; darn=nongnu.org; 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=Dd/n06KQPsRfxFeQobyHwXgQczMYXIkFQbqkcOigBrk=; b=yB6I9kHDEnNlOQhz6Q+ukyMhfwXLMeS19PZGJ5DP18qSxy2L2ovtPp13XuD7ekWujf 5Z9GaOuIT2LK0Pk+k8fVFKY0hJXer7PH+XcpKlUXO3dMLwoVvBRXsGgAnQ/UD3eabufC P+Lo2pvwMC4qzdXl+mPmmIzDSzEW55IjHvNbA52tFf2kfEcnNVHOwSUH34ifOjp+JCmv 4B25V0LINBDLfLr/zqo24c7+0K53edCCZ0dXUDWmWTxH/54iiZng/1DSi4eO4HGtSNYj 2O618ac7cPgUbFg6NqUFfg8KhhRroiY0itL1HJYM1dS41JgScaMm5JfuZ1KaAoL2ZSOR SUSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733512311; x=1734117111; 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=Dd/n06KQPsRfxFeQobyHwXgQczMYXIkFQbqkcOigBrk=; b=VyT9poYYusMynkHhrpTxr5UYFiYx6j2O9JlKZPp4QLMjS/d+8oJjriqMNDFr9ku/RQ 3hqcmYJow2Zf3BNN7QuBgL5n8Lfv0obdxpoEIRGFZsQ4Himky1G7VxD6ZslnH79R5k6P nB2y0+NntQoXmnTKM+KyqhZb/i8024wgdHOyG6T0TeBrg8nhRI7X4bxI3kT7S6IRhbxm cPwCZ3MlykAQt/djO7Oivvoa6LxmAhi/mOp6ZkXaMkiZlXwG9zN73oeE8EAtGlH7qSID 1PofwIJlBk2I4LETM2uZqMpd7QKWpb1ilEffMyl6w3nN5Z6lJRrwhIzL+u6ZpsP31j4C 2k8w== X-Gm-Message-State: AOJu0YxiKVcrtOKiXosAv88Li03/O00VXd3288PPTa2tFim3rKKXlM3l pJasJNMgOP0kFz44Qe4FKtEWNd7QsYx5czkS0HIv1iU5XZMFF8OYqIkItbr55MxPtrKtTYSTbuS Bleo= X-Gm-Gg: ASbGncunhNU5kSFQAn0+vxOXQdiOSDw+nqXxvqihY6R2fAblW8/L4By/MWsb87DfuFt H6gbhVyjf78JxizwocPWl/jK4hB6w1vahgrjyTIg6Isv6fQwcjyeKanfM/8YXyUidaajWFdeJHf eYbGWOLufygyvcrY9agJVpEnH8a8fB7R0wckRgQ7OwKEJXA8uwee537QK77xZ28ktpAYbpsoait ZFTBQuZYE6lS6j8bMBlPpACBhmXpJPQoDnYy+cFsvyKq2HqHrAKBmPDCmf3RjTXW/c= X-Received: by 2002:a05:600c:1e1e:b0:434:a5bc:70fc with SMTP id 5b1f17b1804b1-434ddeb51c4mr35959325e9.8.1733512311712; Fri, 06 Dec 2024 11:11:51 -0800 (PST) Received: from localhost.localdomain ([95.127.41.180]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d5281229sm102098015e9.26.2024.12.06.11.11.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 06 Dec 2024 11:11:51 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Richard Henderson , Eduardo Habkost , Marcel Apfelbaum , Zhao Liu , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/4] hw/timer/hpet: Have hpet_find() return an Object Date: Fri, 6 Dec 2024 20:11:23 +0100 Message-ID: <20241206191124.9195-4-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241206191124.9195-1-philmd@linaro.org> References: <20241206191124.9195-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé --- include/hw/timer/hpet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/timer/hpet.h b/include/hw/timer/hpet.h index 2a95799a679..d11cdff0347 100644 --- a/include/hw/timer/hpet.h +++ b/include/hw/timer/hpet.h @@ -64,7 +64,7 @@ #define HPET_INTCAP "hpet-intcap" -static inline bool hpet_find(void) +static inline Object *hpet_find(void) { return object_resolve_path_type("", TYPE_HPET, NULL); }