[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 <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx>
On Behalf Of Clements, John [AMD Official Use Only - Internal Distribution Only] |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx