Tegra194: mce: 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]

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

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

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

Change-Id: Iaae2ecaba3caf1469c44910d4e6aed0661597a51
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
1 parent a76d461 commit 6152de3b347203e062d974b1af9b286b1f5c138c
@Anthony Zhou Anthony Zhou authored on 20 Sep 2017
Varun Wadekar committed on 28 Nov 2019
Showing 3 changed files
View
plat/nvidia/tegra/soc/t194/drivers/include/mce_private.h
View
plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
View
plat/nvidia/tegra/soc/t194/drivers/mce/nvg.c