Skip to content

Commit 93de35c

Browse files
rddunlapbzolnier
authored andcommitted
fbdev: fix omap2/omapfb/dss/ indentation warning
Fix indentation warning (from gcc 8.1.0) in omap2/omapfb: ../drivers/video/fbdev/omap2/omapfb/dss/dispc.c: In function 'pixinc': ../drivers/video/fbdev/omap2/omapfb/dss/dispc.c:1859:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ../drivers/video/fbdev/omap2/omapfb/dss/dispc.c:1861:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 0; ^~~~~~ Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
1 parent f406a46 commit 93de35c

File tree

1 file changed

+1
-1
lines changed
  • drivers/video/fbdev/omap2/omapfb/dss

1 file changed

+1
-1
lines changed

drivers/video/fbdev/omap2/omapfb/dss/dispc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@ static s32 pixinc(int pixels, u8 ps)
18581858
return 1 - (-pixels + 1) * ps;
18591859
else
18601860
BUG();
1861-
return 0;
1861+
return 0;
18621862
}
18631863

18641864
static void calc_vrfb_rotation_offset(u8 rotation, bool mirror,

0 commit comments

Comments
 (0)