]> git.baikalelectronics.ru Git - kernel.git/commit
fbcon: Adjust indentation in set_con2fb_map
authorNathan Chancellor <natechancellor@gmail.com>
Wed, 18 Dec 2019 02:53:37 +0000 (19:53 -0700)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 15 Jan 2020 16:31:46 +0000 (17:31 +0100)
commit1ceb20ab7c78b2cb657b0f36c16b9ba4606955e7
treea1dff0e25facf54ad994e56852b16f3d3f0737a3
parent99d4226175c77d8b365fb991d8040dd13a51b114
fbcon: Adjust indentation in set_con2fb_map

Clang warns:

../drivers/video/fbdev/core/fbcon.c:915:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
        return err;
        ^
../drivers/video/fbdev/core/fbcon.c:912:2: note: previous statement is
here
        if (!search_fb_in_map(info_idx))
        ^
1 warning generated.

This warning occurs because there is a space before the tab on this
line. This happens on several lines in this function; normalize them
so that the indentation is consistent with the Linux kernel coding
style and clang no longer warns.

This warning was introduced before the beginning of git history so no
fixes tab.

Link: https://github.com/ClangBuiltLinux/linux/issues/824
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191218025337.35044-1-natechancellor@gmail.com
drivers/video/fbdev/core/fbcon.c