Commit 73dad7f9 authored by Anthony Zhou's avatar Anthony Zhou Committed by Varun Wadekar
Browse files

Tegra194: mce: fix function declaration conflicts


To fix MISRA defects, remove union in t186 MCE drivers
this driver should compatible with that.

Change-Id: I09e96a1874dd86626c7e41c92a1484a84e387402
Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
Showing with 3 additions and 3 deletions
+3 -3
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
/******************************************************************************* /*******************************************************************************
* Common handler for all MCE commands * Common handler for all MCE commands
******************************************************************************/ ******************************************************************************/
int32_t mce_command_handler(mce_cmd_t cmd, uint64_t arg0, uint64_t arg1, int32_t mce_command_handler(uint64_t cmd, uint64_t arg0, uint64_t arg1,
uint64_t arg2) uint64_t arg2)
{ {
uint64_t ret64 = 0, arg3, arg4, arg5; uint64_t ret64 = 0, arg3, arg4, arg5;
...@@ -161,7 +161,7 @@ int32_t mce_command_handler(mce_cmd_t cmd, uint64_t arg0, uint64_t arg1, ...@@ -161,7 +161,7 @@ int32_t mce_command_handler(mce_cmd_t cmd, uint64_t arg0, uint64_t arg1,
break; break;
default: default:
ERROR("unknown MCE command (%lld)\n", cmd); ERROR("unknown MCE command (%llu)\n", cmd);
ret = EINVAL; ret = EINVAL;
break; break;
} }
...@@ -196,7 +196,7 @@ int32_t mce_update_gsc_tzram(void) ...@@ -196,7 +196,7 @@ int32_t mce_update_gsc_tzram(void)
/******************************************************************************* /*******************************************************************************
* Handler to issue the UPDATE_CSTATE_INFO request * Handler to issue the UPDATE_CSTATE_INFO request
******************************************************************************/ ******************************************************************************/
void mce_update_cstate_info(mce_cstate_info_t *cstate) void mce_update_cstate_info(const mce_cstate_info_t *cstate)
{ {
/* issue the UPDATE_CSTATE_INFO request */ /* issue the UPDATE_CSTATE_INFO request */
nvg_update_cstate_info(cstate->cluster, cstate->ccplex, cstate->system, nvg_update_cstate_info(cstate->cluster, cstate->ccplex, cstate->system,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment