Issue: need to return on any failure.
The nullptr check test would segfault without-
all values in struct are not initialized.
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
Change-Id: I4987fb73ba9bcb182de7a439a4286333a41bf7eb
[ROCm/amdsmi commit: d74be3120e]