gpu: nvgpu: dbg_..._stop_trigger() to return void

nvgpu_dbg_gpu_clear_broadcast_stop_trigger was always returning 0.
This patch changes it to return void, thus fixing a number of
MISRA violations.

JIRA NVGPU-677

Change-Id: Ib9cbce6e9ed5ecf6ed0fdab714adbb0ecff4ec5b
Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1998806
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Nicolas Benech
2019-01-17 17:30:51 -05:00
committed by mobile promotions
parent f766c6af91
commit 38819216bd
2 changed files with 2 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ bool nvgpu_dbg_gpu_broadcast_stop_trigger(struct channel_gk20a *ch)
return broadcast;
}
int nvgpu_dbg_gpu_clear_broadcast_stop_trigger(struct channel_gk20a *ch)
void nvgpu_dbg_gpu_clear_broadcast_stop_trigger(struct channel_gk20a *ch)
{
struct dbg_session_data *session_data;
struct dbg_session_gk20a *dbg_s;
@@ -143,8 +143,6 @@ int nvgpu_dbg_gpu_clear_broadcast_stop_trigger(struct channel_gk20a *ch)
}
nvgpu_mutex_release(&ch->dbg_s_lock);
return 0;
}
u32 nvgpu_set_powergate_locked(struct dbg_session_gk20a *dbg_s,