From 3881dd6a26a63f84d49f34e2f14dd0e568580d1e Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Fri, 17 May 2019 13:39:39 -0700 Subject: [PATCH] gpu: nvgpu: fix build issue w/ NVGPU_CHANNEL_WDT Fix build issue w/ safety build. Add missing } when NVGPU_CHANNEL_WDT is not set. Jira NVGPU-3012 Change-Id: I60f017a0203662b9acc8a2fa791079deade93736 Signed-off-by: Thomas Fleury Reviewed-on: https://git-master.nvidia.com/r/2121305 Reviewed-by: svc-mobile-coverity Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seema Khowala Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit Reviewed-by: Vaibhav Kachore Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/fifo/channel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/common/fifo/channel.c b/drivers/gpu/nvgpu/common/fifo/channel.c index 70f1ca37f..c2f50291a 100644 --- a/drivers/gpu/nvgpu/common/fifo/channel.c +++ b/drivers/gpu/nvgpu/common/fifo/channel.c @@ -1340,7 +1340,8 @@ int nvgpu_channel_setup_bind(struct nvgpu_channel *c, } #else if (nvgpu_is_timeouts_enabled(c->g)) { - pbdma_acquire_timeout = g->ch_wdt_init_limit_ms; + pbdma_acquire_timeout = g->ch_wdt_init_limit_ms; + } #endif err = g->ops.ramfc.setup(c, gpfifo_gpu_va,