Tegra186: secondary: fix MISRA defects
authorAnthony Zhou <anzhou@nvidia.com>
Tue, 21 Mar 2017 07:50:09 +0000 (15:50 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 16 Jan 2019 18:12:35 +0000 (10:12 -0800)
commit592035d05b7b4554a7d549fd7569e99873899805
treed7cc6ca1df2d9043089d3ea7abee595e48d983f6
parent47b83ad2d9a044f44a378a00755ba6b220d8c3e6
Tegra186: secondary: fix MISRA defects

Main fixes:

Added explicit casts (e.g. 0U) to integers in order for them to be
compatible with whatever operation they're used in [Rule 10.1]

Force operands of an operator to the same type category [Rule 10.4]

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

Change-Id: I758e7ef6d45dd2edf4cd5580e2af15219246e75c
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
plat/nvidia/tegra/include/tegra_private.h
plat/nvidia/tegra/soc/t186/plat_secondary.c