[SWDEV-511011] version command fails when driver isn't loaded (#123)

Signed-off-by: Deepak Mewar <deepak.mewar@amd.com>

Change-Id: Ibe77c904-1a5c-4361-8fad-291a203c6755

[ROCm/amdsmi commit: 83c88f26d1]
Tá an tiomantas seo le fáil i:
Mewar, Deepak údaraithe agus GitHub tiomanta 2025-02-26 03:13:22 -06:00
1 tuismitheoir d2116cf24e
tiomantas ac7bfb4849
2 comhad athraithe
+24 -2

Níor tháinig aon chomhaid le do chuardach

-2
Féach ar an gComhad
@@ -2952,8 +2952,6 @@ amdsmi_status_t amdsmi_get_gpu_topo_numa_affinity(
}
amdsmi_status_t amdsmi_get_lib_version(amdsmi_version_t *version) {
AMDSMI_CHECK_INIT();
if (version == nullptr)
return AMDSMI_STATUS_INVAL;