linux_dsm_epyc7002/drivers/video/fbdev
Nathan Chancellor 93166f5f2e fbmem: Adjust indentation in fb_prepare_logo and fb_blank
Clang warns:

../drivers/video/fbdev/core/fbmem.c:665:3: warning: misleading
indentation; statement is not part of the previous 'else'
[-Wmisleading-indentation]
        if (fb_logo.depth > 4 && depth > 4) {
        ^
../drivers/video/fbdev/core/fbmem.c:661:2: note: previous statement is
here
        else
        ^
../drivers/video/fbdev/core/fbmem.c:1075:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
        return ret;
        ^
../drivers/video/fbdev/core/fbmem.c:1072:2: note: previous statement is
here
        if (!ret)
        ^
2 warnings generated.

This warning occurs because there are spaces before the tabs on these
lines. Normalize the indentation in these functions so that it is
consistent with the Linux kernel coding style and clang no longer warns.

Fixes: 1692b37c99 ("fbdev: Fix logo if logo depth is less than framebuffer depth")
Link: https://github.com/ClangBuiltLinux/linux/issues/825
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/20191218030025.10064-1-natechancellor@gmail.com
2020-01-15 17:31:47 +01:00
..
aty drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
core fbmem: Adjust indentation in fb_prepare_logo and fb_blank 2020-01-15 17:31:47 +01:00
geode video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
i810
intelfb video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
kyro video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
matrox Merge drm/drm-next into drm-misc-next 2020-01-06 10:35:33 +01:00
mb862xx video: fbdev: mb862xx: modify the static fb_ops directly 2019-12-05 10:57:22 +02:00
mbx video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mmp video: fbdev: mmp: fix platform_get_irq.cocci warnings 2020-01-08 08:26:39 +01:00
nvidia video: fbdev: nvidia: modify the static fb_ops directly 2019-12-05 10:57:27 +02:00
omap video: omapfb: use const pointer for fb_ops 2019-12-03 11:11:44 +02:00
omap2 OMAP: DSS2: remove non-zero check on variable r 2020-01-15 17:31:44 +01:00
riva video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
savage video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sis video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vermilion
via
68328fb.c video/fbdev/68328fb: Remove dead code 2020-01-03 14:27:43 +01:00
acornfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
acornfb.h
amba-clcd.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
amifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
arcfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
arkfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
asiliantfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
atafb_iplan2p2.c
atafb_iplan2p4.c
atafb_iplan2p8.c
atafb_mfb.c
atafb_utils.h
atafb.c
atafb.h
atmel_lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1100fb.h
au1200fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1200fb.h
broadsheetfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
bt431.h
bt455.h
bw2.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
c2p_core.h fbdev: c2p: Fix link failure on non-inlining 2019-11-04 10:48:14 +01:00
c2p_iplan2.c
c2p_planar.c
c2p.h
carminefb_regs.h
carminefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
carminefb.h
cg3.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cg6.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cg14.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
chipsfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cirrusfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
clps711x-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cobalt_lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
controlfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
controlfb.h
cyber2000fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cyber2000fb.h
da8xx-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
dnfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
edid.h
efifb.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
ep93xx-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fb-puv3.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ffb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fm2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fsl-diu-fb.c video: fbdev: fsl-diu-fb: mark expected switch fall-throughs 2020-01-03 14:27:48 +01:00
g364fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
gbefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
goldfishfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
grvga.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
gxt4500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hecubafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hgafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hitfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hpfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hyperv_fb.c video: hyperv_fb: fix indentation issue 2020-01-15 17:31:40 +01:00
i740_reg.h
i740fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
imsttfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
imxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
Kconfig video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver 2019-11-21 20:10:44 -05:00
leo.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
macfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
macmodes.c
macmodes.h
Makefile Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
maxinefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
metronomefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mx3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
n411.c
neofb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ocfb.c video: ocfb: Use devm_platform_ioremap_resource() in ocfb_probe() 2020-01-03 14:27:49 +01:00
offb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
p9100.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
platinumfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
platinumfb.h
pm2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pm3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmag-aa-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmag-ba-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmagb-b-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ps3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pvr2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pxa3xx-gcu.c
pxa3xx-gcu.h
pxa168fb.c pxa168fb: fix release function mismatch in probe failure 2020-01-15 17:31:45 +01:00
pxa168fb.h
pxafb.c video: pxafb: Use devm_platform_ioremap_resource() in pxafb_probe() 2020-01-03 14:27:50 +01:00
pxafb.h video: pxafb: Remove cpufreq policy notifier 2019-08-26 10:02:02 +02:00
q40fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s1d13xxxfb.c
s3c2410fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s3c2410fb.h
s3c-fb.c fbdev: s3c-fb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:45 +01:00
s3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sa1100fb.c fbdev/sa1100fb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:46 +01:00
sa1100fb.h video: sa1100fb: Remove cpufreq policy notifier 2019-08-26 10:02:02 +02:00
sbuslib.c
sbuslib.h
sh7760fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sh_mobile_lcdcfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sh_mobile_lcdcfb.h
simplefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
skeletonfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sm501fb.c
sm712.h
sm712fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
smscufx.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ssd1307fb.c video: ssd1307fb: add the missed regulator_disable 2020-01-15 17:31:42 +01:00
sstfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sticore.h
stifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr1000.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr2500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tcx.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tdfxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tgafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tmiofb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tridentfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
udlfb.c video: udlfb: don't restore fb_mmap after deferred IO cleanup 2019-12-03 11:11:16 +02:00
uvesafb.c video: fbdev: uvesafb: modify the static fb_ops directly 2019-12-05 10:57:31 +02:00
valkyriefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
valkyriefb.h
vesafb.c video: fbdev: vesafb: modify the static fb_ops directly 2019-12-03 11:11:24 +02:00
vfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vga16fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vt8500lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vt8500lcdfb.h
vt8623fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
w100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
w100fb.h
wm8505fb_regs.h
wm8505fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
wmt_ge_rops.c
wmt_ge_rops.h
xen-fbfront.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
xilinxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00