mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: channel MISRA fix for Rule 21.2
Rename _gk20a_channel_get -> nvgpu_channel_get__func gk20a_channel_get -> nvgpu_channel_get _gk20a_channel_put -> nvgpu_channel_put__func gk20a_channel_put -> nvgpu_channel_put trace_gk20a_channel_get -> trace_nvgpu_channel_get trace_gk20a_channel_put -> trace_nvgpu_channel_put JIRA NVGPU-3388 Change-Id: I4e37adddbb5ce14aa18132722719ca2f73f1ba52 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2114118 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
26d13b3b6b
commit
671f1c8a36
@@ -681,7 +681,7 @@ static int nvgpu_gpu_ioctl_set_debug_mode(
|
||||
err = -ENOSYS;
|
||||
nvgpu_mutex_release(&g->dbg_sessions_lock);
|
||||
|
||||
gk20a_channel_put(ch);
|
||||
nvgpu_channel_put(ch);
|
||||
return err;
|
||||
}
|
||||
|
||||
@@ -1640,7 +1640,7 @@ static int nvgpu_gpu_set_deterministic_opts(struct gk20a *g,
|
||||
|
||||
err = nvgpu_gpu_set_deterministic_ch(ch, args->flags);
|
||||
|
||||
gk20a_channel_put(ch);
|
||||
nvgpu_channel_put(ch);
|
||||
|
||||
if (err)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user