aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2017-04-28 18:15:09 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2019-11-13 13:28:03 -0800
commit2e446f50bde561913276ef6d930a20dfeadf416d (patch)
tree8a672422ced5da78cf4d14912f875dad2f85ae30 /plat
parent42de03848f61c79f4f1aeb2ce91df1eac59fa3fb (diff)
downloadplatform_external_arm-trusted-firmware-2e446f50bde561913276ef6d930a20dfeadf416d.tar.gz
platform_external_arm-trusted-firmware-2e446f50bde561913276ef6d930a20dfeadf416d.tar.bz2
platform_external_arm-trusted-firmware-2e446f50bde561913276ef6d930a20dfeadf416d.zip
Tegra194: sip_calls: mark unused parameter as const
This patch marks the unused parameter 'cookie', to the plat_sip_handler() function, as const to fix an issue flagged by the MISRA scan. Change-Id: I53fdd2caadf43fef17fbc3a50a18bf7fdbd42d39 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/nvidia/tegra/soc/t194/plat_sip_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/nvidia/tegra/soc/t194/plat_sip_calls.c b/plat/nvidia/tegra/soc/t194/plat_sip_calls.c
index cb57c9b61..eaad73a40 100644
--- a/plat/nvidia/tegra/soc/t194/plat_sip_calls.c
+++ b/plat/nvidia/tegra/soc/t194/plat_sip_calls.c
@@ -51,7 +51,7 @@ int plat_sip_handler(uint32_t smc_fid,
uint64_t x2,
uint64_t x3,
uint64_t x4,
- void *cookie,
+ const void *cookie,
void *handle,
uint64_t flags)
{