OSDN Git Service

fbdev: fix omap2/omapfb/dss/ indentation warning
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 24 Jul 2018 17:11:28 +0000 (19:11 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 24 Jul 2018 17:11:28 +0000 (19:11 +0200)
commit93de35c92a06f97f2f7c5d43170db10f8b774981
treef10e233e96710863ec088d355035c2ba48d600bf
parentf406a464cd87f907c3470273d922562b15aafd77
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 <rdunlap@infradead.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/omap2/omapfb/dss/dispc.c