video: fbdev: vesafb: fix indentation issue
Subsystems (2)
PATCH 1/1 video: fbdev: vesafb: fix indentation issue
From: Colin Ian King <[email protected]>
There are a couple of statements that are indented too deeply, fix this by removing tabs. Also add a space after a comma to clean up a cppcheck warning.
--- drivers/video/fbdev/vesafb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/fbdev/vesafb.c +2 -2
@@ -336,8 +336,8 @@ static int vesafb_probe(struct platform_device *dev)printk (KERN_INFO "vesafb: pmi: set display start = %p, set palette = %p\n" ,pmi_start,pmi_pal);if (pmi_base[3 ]) {printk (KERN_INFO "vesafb: pmi: ports = " ); -for (i = pmi_base[3 ]/2 ; pmi_base[i] !=0xffff ; i++) -printk ("%x " ,pmi_base[i]); +for (i = pmi_base[3 ]/2 ; pmi_base[i] !=0xffff ; i++) +printk ("%x " , pmi_base[i]);printk ("\n" );if (pmi_base[i] !=0xffff ) {/*
Signature · 1 line
2.20.1
Quoted 16 lines · Colin King
From: Colin Ian King <[email protected]>
There are a couple of statements that are indented too deeply, fix this by removing tabs. Also add a space after a comma to clean up a cppcheck warning.
Signed-off-by Colin Ian King <[email protected]>--- drivers/video/fbdev/vesafb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/video/fbdev/vesafb.c +0
-0
drivers/video/fbdev/vesafb.c static int vesafb_probe(struct platform_device *dev) · line 343
Quoted 10 lines
drivers/video/fbdev/vesafb.c +2
-2@@ -336,8 +336,8 @@ static int vesafb_probe(struct platform_device *dev)printk (KERN_INFO "vesafb: pmi: set display start = %p, set palette = %p\n" ,pmi_start,pmi_pal);if (pmi_base[3 ]) {printk (KERN_INFO "vesafb: pmi: ports = " ); -for (i = pmi_base[3 ]/2 ; pmi_base[i] !=0xffff ; i++) -printk ("%x " ,pmi_base[i]); +for (i = pmi_base[3 ]/2 ; pmi_base[i] !=0xffff ; i++) +printk ("%x " , pmi_base[i]);printk ("\n" );if (pmi_base[i] !=0xffff ) {/*
Perhaps you could also use pr_cont too because otherwise this emits each printk on separate lines.
Quoted 7 lines · Colin King
From: Colin Ian King <[email protected]>
There are a couple of statements that are indented too deeply, fix this by removing tabs. Also add a space after a comma to clean up a cppcheck warning.
Signed-off-by Colin Ian King <[email protected]>
Patch queued for v5.2, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics