]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(versal): initialize the variable with value 0 in pm code
authorNaman Patel <naman.patel@amd.com>
Wed, 16 Nov 2022 09:54:23 +0000 (01:54 -0800)
committerNaman Patel <naman.patel@amd.com>
Thu, 24 Nov 2022 13:25:48 +0000 (05:25 -0800)
commitcd73d62b0e0920ca4e6c4fea7ab65bcbd63e07de
treeb463fce96b06029622ff55d5a94485e217603b58
parent98d83b9971c769905ff489c670a3eebc2891b9fc
fix(versal): initialize the variable with value 0 in pm code

Remove zeromem function as the array is already initialized
with value 0.

MISRA Violation: MISRA C-2012 Rule 9.1
- Initialize the array/variable with a value 0 to resolve
the misra warnings in pm_service component.

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