Tegra: fix defects flagged by MISRA Rule 10.3
MISRA Rule 10.3, the value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category. The essential type of a enum member is anonymous enum, the enum member should be casted to the right type when using it. Both UL and ULL suffix equal to uint64_t constant in compiler aarch64-linux-gnu-gcc, to avoid confusing, only keep U and ULL suffix in platform code. So in some case, cast a constant to uint32_t is necessary. Change-Id: I1aae8cba81ef47481736e7f95f53570de7013187 Signed-off-by: Anthony Zhou <anzhou@nvidia.com> |
---|
|
plat/nvidia/tegra/common/drivers/bpmp/bpmp.c |
---|
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c |
---|
plat/nvidia/tegra/common/drivers/smmu/smmu.c |
---|
plat/nvidia/tegra/common/tegra_sip_calls.c |
---|
plat/nvidia/tegra/include/drivers/bpmp.h |
---|
plat/nvidia/tegra/include/drivers/memctrl_v2.h |
---|
plat/nvidia/tegra/include/drivers/smmu.h |
---|
plat/nvidia/tegra/include/t186/tegra_def.h |
---|
plat/nvidia/tegra/include/t210/tegra_def.h |
---|
plat/nvidia/tegra/soc/t186/drivers/mce/ari.c |
---|
plat/nvidia/tegra/soc/t186/drivers/mce/mce.c |
---|
plat/nvidia/tegra/soc/t186/drivers/mce/nvg.c |
---|
plat/nvidia/tegra/soc/t186/plat_memctrl.c |
---|
plat/nvidia/tegra/soc/t186/plat_psci_handlers.c |
---|
plat/nvidia/tegra/soc/t210/drivers/se/se_private.h |
---|
plat/nvidia/tegra/soc/t210/drivers/se/security_engine.c |
---|