summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
diff options
context:
space:
mode:
authorSreejith V <sreejithv@nvidia.com>2017-09-18 09:11:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-22 15:58:03 -0400
commitf6fcecfc6f437a6d24aa113f75e43cb6dbbd5e0f (patch)
tree45d72ef2a3d69cacb1de83f7e48bf855ee7f2f99 /drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
parent17c581d75514c32d1e8c1e416beb33b3ccce22a5 (diff)
gpu: nvgpu: vgpu: fix indentation
Fix gcc 6.4 toolchain comppilation error due to misleading indentation. Bug 200348663 Change-Id: I06858bc5e0a96a0c23228ac9333102080ccb2da2 Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1564717 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index 26e4de02..024dac7b 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -232,15 +232,15 @@ static int init_runlist(struct gk20a *g, struct fifo_gk20a *f)
232 if (!runlist->active_channels) 232 if (!runlist->active_channels)
233 goto clean_up_runlist; 233 goto clean_up_runlist;
234 234
235 runlist_size = sizeof(u16) * f->num_channels; 235 runlist_size = sizeof(u16) * f->num_channels;
236 for (i = 0; i < MAX_RUNLIST_BUFFERS; i++) { 236 for (i = 0; i < MAX_RUNLIST_BUFFERS; i++) {
237 int err = nvgpu_dma_alloc_sys(g, runlist_size, 237 int err = nvgpu_dma_alloc_sys(g, runlist_size,
238 &runlist->mem[i]); 238 &runlist->mem[i]);
239 if (err) { 239 if (err) {
240 dev_err(d, "memory allocation failed\n"); 240 dev_err(d, "memory allocation failed\n");
241 goto clean_up_runlist; 241 goto clean_up_runlist;
242 }
243 } 242 }
243 }
244 nvgpu_mutex_init(&runlist->mutex); 244 nvgpu_mutex_init(&runlist->mutex);
245 245
246 /* None of buffers is pinned if this value doesn't change. 246 /* None of buffers is pinned if this value doesn't change.