[AMD Public Use]

+            if (!adev->psp.ras.ras_initialized)
+                           return -EINVAL;
+
             if (!con)
                            return -EINVAL;

I suggest squashing the new check into below one.

Regards,
Guchun

From: amd-gfx <[email protected]> On Behalf Of Clements, 
John
Sent: Wednesday, September 9, 2020 5:24 PM
To: amd-gfx list <[email protected]>; Zhang, Hawking 
<[email protected]>
Subject: [PATCH] drm/amdgpu: Update RAS init handling


[AMD Official Use Only - Internal Distribution Only]


_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to