]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: hpet: fix fw_cfg handling
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 Oct 2025 14:49:12 +0000 (16:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Oct 2025 09:03:43 +0000 (11:03 +0200)
commit414ac7e057047706914232142d7a7d38440b3f9b
treeea2b7a5ac75cdf1835ac8a3ee8649e2751dfbc5c
parentceda1563d6d347647419f61508856e5236069e02
rust: hpet: fix fw_cfg handling

HPET ids for fw_cfg are not assigned correctly, because there
is a read but no write.  This is caught by nightly Rust as
an unused-assignments warning, so fix it.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/timer/hpet/src/fw_cfg.rs