Tegra: bpmp: fix multiple MISRA issues
This patch fixes violations for the following MISRA rules

* Rule 5.7  "A tag name shall be a unique identifier"
* Rule 10.1 "Operands shall not be of an inappropriate essential type"
* Rule 10.3 "The value of an expression shall not be assigned to an object
             with a narrower essential type or of a different essential type
             category"
* Rule 10.4 "Both operands of an operator in which the usual arithmetic
             conversions are performed shall have the same essential type
             category"
* Rule 20.7 "Expressions resulting from the expansion of macro parameters
             shall be enclosed in parentheses"
* Rule 21.1 "#define and #undef shall not be used on a reserved identifier
             or reserved macro name"

Change-Id: I83cbe659c2d72e76dd4759959870b57c58adafdf
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 8d4107f commit 64aa08fb169bb5fa4b3c160fcc47e8dade4d7cac
@Varun Wadekar Varun Wadekar authored on 25 May 2018
Showing 3 changed files
View
plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.c
View
plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.h
View
plat/nvidia/tegra/common/drivers/bpmp_ipc/ivc.h