Tegra186: setup: fix defects flagged by MISRA scan
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]

Added curly braces ({}) around if statements in order to
make them compound [Rule 15.6]

Change-Id: I4840c3122939f736113d61f1462af3bd7b0b5085
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
1 parent 214e846 commit d6102295c5694138b2df85069cefab2e46694598
@Anthony Zhou Anthony Zhou authored on 21 Mar 2017
Varun Wadekar committed on 16 Jan 2019
Showing 2 changed files
View
plat/nvidia/tegra/include/tegra_private.h
View
plat/nvidia/tegra/soc/t186/plat_setup.c