summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
diff options
context:
space:
mode:
authorPhilip Elcan <pelcan@nvidia.com>2018-08-27 12:45:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-10 18:23:45 -0400
commitd2be65315a9ebfc88e77489571a31c48b3d21284 (patch)
treeff4a2d2d90ad1b6f3768bcb8e67176202ccfe97c /drivers/gpu/nvgpu/gp10b/gr_gp10b.c
parentc86f185d1022de18a1a1073aa91d2b06aa59e2fc (diff)
gpu: nvgpu: fix some MISRA 10.3 violations
Fix MISRA 10.3 violations in mclk_gp106.c. Cleanup cases where values were being assigned to narrower types. Changes in mclk_gp106.c required updates to other files to resolve errors and prevent introducing new violations. JIRA NVGPU-647 Change-Id: Ifdb03ad41d9dbf05dbcf79494ae8565fff6ee083 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1809366 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index 92e0165f..2fb700f0 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -2169,7 +2169,7 @@ int gr_gp10b_suspend_contexts(struct gk20a *g,
2169 struct nvgpu_timeout timeout; 2169 struct nvgpu_timeout timeout;
2170 2170
2171 nvgpu_log(g, gpu_dbg_fn | gpu_dbg_gpu_dbg | gpu_dbg_intr, 2171 nvgpu_log(g, gpu_dbg_fn | gpu_dbg_gpu_dbg | gpu_dbg_intr,
2172 "CILP preempt pending, waiting %lu msecs for preemption", 2172 "CILP preempt pending, waiting %u msecs for preemption",
2173 gk20a_get_gr_idle_timeout(g)); 2173 gk20a_get_gr_idle_timeout(g));
2174 2174
2175 tsg = tsg_gk20a_from_ch(cilp_preempt_pending_ch); 2175 tsg = tsg_gk20a_from_ch(cilp_preempt_pending_ch);