fix(xilinx): resolve misra rule 10.4 violations
Fixed below MISRA violation:
- MISRA Violation: MISRA-C:2012 R.10.4:
- Both operands of an operator in which the usual arithmetic conversions
are performed shall have the same essential type category.
- Fix:
- Made data type same for both the operands.
Change-Id: I0cea19477f3c10265d95ea1d5d2ea151dbf174bb
Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
diff --git a/plat/xilinx/versal/plat_psci.c b/plat/xilinx/versal/plat_psci.c
index 51d4634..93ee5f1 100644
--- a/plat/xilinx/versal/plat_psci.c
+++ b/plat/xilinx/versal/plat_psci.c
@@ -184,8 +184,8 @@
* not received.
*/
do {
- ret = (uint32_t)ipi_mb_enquire_status(primary_proc->ipi->local_ipi_id,
- primary_proc->ipi->remote_ipi_id);
+ ret = ipi_mb_enquire_status(primary_proc->ipi->local_ipi_id,
+ primary_proc->ipi->remote_ipi_id);
udelay(100);
timeout--;
} while ((ret != IPI_MB_STATUS_RECV_PENDING) && (timeout > 0U));