Tegra: sip_calls: fix defects flagged by MISRA scan
Main fixes:

* Expressions resulting from the expansion of macro parameters
  shall be enclosed in parentheses [Rule 20.7]
* 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]
* Fix implicit widening of composite assignment [Rule 10.6]

Change-Id: Ia83c3ab6e4c8c03c19c950978a7936ebfc290590
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 592035d commit aeafc362124f621034c530698df28f2f29ff0f43
@Anthony Zhou Anthony Zhou authored on 28 Feb 2017
Varun Wadekar committed on 16 Jan 2019
Showing 1 changed file
View
plat/nvidia/tegra/common/tegra_sip_calls.c