summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-02-09 08:02:35 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:10 -0500
commit0c9ba5c067f777413ee1132a05be50f03c79db89 (patch)
tree480a21bc8af5ff9a313da7f4f56fc1529307ae41 /drivers/gpu/nvgpu/gp10b/gr_gp10b.c
parent83e9c506eed0bc61b707694756ff716b13fef45d (diff)
gpu: nvgpu: fix sparse warning
fix below sparse warning : drivers/gpu/nvgpu/gp10b/gr_gp10b.c:1364:5: warning: symbol 'gr_gp10b_pre_process_sm_exception' was not declared. Should it be static? Bug 200088648 Change-Id: Ie55ffc12eb653b10358001e2aef8766562fd0df9 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1009938 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index 6ed91bb1..ae2ffc0a 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GP10B GPU GR 2 * GP10B GPU GR
3 * 3 *
4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -1361,7 +1361,7 @@ static int gr_gp10b_clear_cilp_preempt_pending(struct gk20a *g,
1361 * 1361 *
1362 * On Pascal, if we are in CILP preemtion mode, preempt the channel and handle errors with special processing 1362 * On Pascal, if we are in CILP preemtion mode, preempt the channel and handle errors with special processing
1363 */ 1363 */
1364int gr_gp10b_pre_process_sm_exception(struct gk20a *g, 1364static int gr_gp10b_pre_process_sm_exception(struct gk20a *g,
1365 u32 gpc, u32 tpc, u32 global_esr, u32 warp_esr, 1365 u32 gpc, u32 tpc, u32 global_esr, u32 warp_esr,
1366 bool sm_debugger_attached, struct channel_gk20a *fault_ch, 1366 bool sm_debugger_attached, struct channel_gk20a *fault_ch,
1367 bool *early_exit, bool *ignore_debugger) 1367 bool *early_exit, bool *ignore_debugger)