[PATCH] fbdev: fix omap2/omapfb/dss/ indentation warning

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Tue Jul 24 17:00:09 UTC 2018


On Saturday, July 21, 2018 08:16:09 PM Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap at infradead.org>
> 
> 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 at infradead.org>
> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> Cc: linux-omap at vger.kernel.org
> Cc: linux-fbdev at vger.kernel.org
> Cc: dri-devel at lists.freedesktop.org

Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics



More information about the dri-devel mailing list