]> git.baikalelectronics.ru Git - arm-tf.git/commit
Tegra194: se: fix multiple MISRA issues
authorVarun Wadekar <vwadekar@nvidia.com>
Fri, 25 May 2018 22:22:58 +0000 (15:22 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 31 Jan 2020 21:21:12 +0000 (13:21 -0800)
commit8d4107f0833723b49f88ed56a6c751eebc5c6696
tree017581f6cc557460eb2dfe627d89634172d47682
parent57c539f9299666d8015d6d12f6293cbb0419308e
Tegra194: se: fix multiple MISRA issues

This patch fixes violations for the following MISRA rules

* Rule 8.4  "A compatible declaration shall be visible when an object or
             function with external linkage is defined"
* Rule 10.1 "Operands shall not be of an inappropriate essential type"
* Rule 10.6 "Both operands of an operator in which the usual arithmetic
             conversions are perdormed shall have the same essential type
             category"
* Rule 17.7 "The value returned by a function having non-void return
             type shall be used"

Change-Id: I171ac8340de729fd7be928fa0c0694e9bb8569f0
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/soc/t194/drivers/se/se.c
plat/nvidia/tegra/soc/t194/drivers/se/se_private.h