]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(zynqmp): check return status of pm_get_api_version
authorNaman Patel <naman.patel@amd.com>
Tue, 22 Nov 2022 13:01:37 +0000 (05:01 -0800)
committerNaman Patel <naman.patel@amd.com>
Thu, 24 Nov 2022 13:30:23 +0000 (05:30 -0800)
commitc92ad369ca3a548ecbf30add110b1561fe416c10
treeba91ebf65cf69531f6df0ff4a803556246fd482e
parent9881bb93a3bc0a3ea37e9f093e09ab4b360a9e48
fix(zynqmp): check return status of pm_get_api_version

MISRA Violation: MISRA C-2012 Rule 17.7
- Check the return status of function pm_get_api_version
and return error in case of failure.

Signed-off-by: Naman Patel <naman.patel@amd.com>
Change-Id: I69fb000c04f22996da7965a09a1797c7bfaad252
plat/xilinx/zynqmp/pm_service/pm_svc_main.c