Tegra186: sip_calls: 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]

Convert object type to match the type of function parameters
[Rule 10.3]

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

Expressions resulting from the expansion of macro parameters
shall be enclosed in parentheses[Rule 20.7]

Change-Id: Ibdae1d18d299562ca2b96b2318b914601c9926b1
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
1 parent f0bfe15 commit 11c5b2733a86b6cf2a7d9be958099a492d4f8a60
@Anthony Zhou Anthony Zhou authored on 28 Feb 2017
Varun Wadekar committed on 18 Jan 2019
Showing 1 changed file
View
plat/nvidia/tegra/soc/t186/plat_sip_calls.c