Skip to content

fix: pkg/hwapi: close fd on each iteration in ReadMSR #43

fix: pkg/hwapi: close fd on each iteration in ReadMSR

fix: pkg/hwapi: close fd on each iteration in ReadMSR #43

Triggered via pull request February 16, 2026 14:40
@micgor32micgor32
synchronize #16
msr
Status Failure
Total duration 27s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
build
Process completed with exit code 1.
build: pkg/hwapi/iommu.go#L147
cannot use h (variable of struct type HwAPI) as LowLevelHardwareInterfaces value in argument to lookupIOLegacy: HwAPI does not implement LowLevelHardwareInterfaces (wrong type for method ReadMSR)
build: pkg/hwapi/api.go#L56
cannot use HwAPI{} (value of struct type HwAPI) as LowLevelHardwareInterfaces value in return statement: HwAPI does not implement LowLevelHardwareInterfaces (wrong type for method ReadMSR)
build: pkg/hwapi/acpi.go#L503
cannot use h (variable of struct type HwAPI) as LowLevelHardwareInterfaces value in argument to GetACPITableDevMem: HwAPI does not implement LowLevelHardwareInterfaces (wrong type for method ReadMSR)
build: pkg/hwapi/acpi.go#L501
cannot use h (variable of struct type HwAPI) as LowLevelHardwareInterfaces value in argument to GetACPITableSysFS: HwAPI does not implement LowLevelHardwareInterfaces (wrong type for method ReadMSR)