]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/nouveau/gr/gf100-: Clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 5 May 2022 08:13:45 +0000 (16:13 +0800)
committerLyude Paul <lyude@redhat.com>
Thu, 5 May 2022 19:16:16 +0000 (15:16 -0400)
Eliminate the follow smatch warning:

drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:1925
gf100_gr_oneinit_tiles() warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220505081345.89762-1-jiapeng.chong@linux.alibaba.com
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c

index 397ff4fe9df89fac4b6b01d1e19a2c03409fc442..f16eabf4f6426b38356df60b1b0f919dcfd22098 100644 (file)
@@ -1922,8 +1922,8 @@ gf100_gr_oneinit_tiles(struct gf100_gr *gr)
 
        for (i = 0; i < gr->gpc_nr; i++) {
                init_frac[i] = gr->tpc_nr[gpc_map[i]] * gr->gpc_nr * mul_factor;
-                init_err[i] = i * gr->tpc_max * mul_factor - comm_denom/2;
-                 run_err[i] = init_frac[i] + init_err[i];
+               init_err[i] = i * gr->tpc_max * mul_factor - comm_denom/2;
+               run_err[i] = init_frac[i] + init_err[i];
        }
 
        for (i = 0; i < gr->tpc_total;) {