From dd3a769d189ee8becf0d457e3d675f895e187d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartu=20=C3=96zen?= Date: Thu, 1 Oct 2026 00:50:12 +0300 Subject: [PATCH] Widen NVMe power-cycle SMART fields to uint (#2484) --- internal/entities/smart/smart.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/entities/smart/smart.go b/internal/entities/smart/smart.go index ef452a586..694522e59 100644 --- a/internal/entities/smart/smart.go +++ b/internal/entities/smart/smart.go @@ -475,7 +475,7 @@ type NVMeSmartHealthInformationLog struct { HostReads uint `json:"host_reads"` HostWrites uint `json:"host_writes"` ControllerBusyTime uint `json:"controller_busy_time"` - PowerCycles uint16 `json:"power_cycles"` + PowerCycles uint `json:"power_cycles"` PowerOnHours uint32 `json:"power_on_hours"` UnsafeShutdowns uint16 `json:"unsafe_shutdowns"` MediaErrors uint `json:"media_errors"` @@ -506,7 +506,7 @@ type SmartInfoForNvme struct { SmartStatus SmartStatusInfoNvme `json:"smart_status"` NVMeSmartHealthInformationLog *NVMeSmartHealthInformationLog `json:"nvme_smart_health_information_log"` Temperature TemperatureInfoNvme `json:"temperature"` - PowerCycleCount uint16 `json:"power_cycle_count"` + PowerCycleCount uint `json:"power_cycle_count"` PowerOnTime PowerOnTimeInfoNvme `json:"power_on_time"` }