Applied Copilot suggestions

[ROCm/rocm_smi_lib commit: def9a3c92d]
This commit is contained in:
GabrPham
2025-08-06 12:19:14 -05:00
committad av Arif, Maisam
förälder 12f71cab20
incheckning 67fd6c0f73
2 ändrade filer med 4 tillägg och 3 borttagningar
@@ -2827,7 +2827,7 @@ def showRange(deviceList, rangeType):
return
printLogSpacer(' Show Valid %s Range ' % (rangeType))
odvf = rsmi_od_volt_freq_data_t()
uint64_max = 2**64 - 1
uint64_max = UIntegerTypes.UINT64_T
for device in deviceList:
ret = rocmsmi.rsmi_dev_od_volt_info_get(device, byref(odvf))
if rsmi_ret_ok(ret, device, 'get_od_volt', silent=False):