Tegra186: fix defects flagged by MISRA scan
authorAnthony Zhou <anzhou@nvidia.com>
Wed, 28 Jun 2017 08:49:16 +0000 (16:49 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 Jan 2019 17:21:50 +0000 (09:21 -0800)
commit9e7a24362d28c54daa5a55429283f16fe836fa76
tree8cd97b2d48a61133fffdbaed006483f9d48fa505
parent86d0a52b8433fb1bd9ad9014912e4a1068b0b1c1
Tegra186: fix defects flagged by MISRA scan

Main fixes:

Remove unused type conversion

Fix invalid use of function pointer [Rule 1.3]

Fix variable essential type doesn't match [Rule 10.3]

Voided non c-library functions whose return types are not used
 [Rule 17.7]

Change-Id: I23994c9d4d6a240080933d848d2b03865acaa833
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
plat/nvidia/tegra/soc/t186/plat_psci_handlers.c
plat/nvidia/tegra/soc/t186/plat_secondary.c
plat/nvidia/tegra/soc/t186/plat_smmu.c