mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
committed by
mobile promotions
parent
f766c6af91
commit
38819216bd
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user