Tegra186: mce: fix trivial MISRA defects
authorAnthony Zhou <anzhou@nvidia.com>
Mon, 8 May 2017 12:17:08 +0000 (20:17 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 16 Jan 2019 18:11:52 +0000 (10:11 -0800)
commita9cd8630a3e6cc8110262133e53e86c3c68421dc
tree0daa7b3f1869b93088bc8e3612a35a539bd81855
parent7aba390fd02dbc5525d216d5d2c6debe47a06df9
Tegra186: mce: fix trivial MISRA defects

This patch fixes MISRA defects for the MCE driver.

* Using logical NOT for bool type function
* Using MPIDR_AFFLVL_MASK << MPIDR_AFFINITY_BITS replace
  MPIDR_CLUSTER_MASK

Change-Id: I97e96f172a3c1158646a15a184c273c53a103d63
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
plat/nvidia/tegra/soc/t186/drivers/mce/ari.c