[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: move i915_kick_out_vgacon to drm_fb_helper

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 21 15:59:34 UTC 2019


== Series Details ==

Series: drm: move i915_kick_out_vgacon to drm_fb_helper
URL   : https://patchwork.freedesktop.org/series/57029/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
38991d86186b drm: move i915_kick_out_vgacon to drm_fb_helper
-:31: ERROR:CODE_INDENT: code indent should use tabs where possible
#31: FILE: drivers/gpu/drm/drm_fb_helper.c:3363:
+        return 0;$

-:31: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#31: FILE: drivers/gpu/drm/drm_fb_helper.c:3363:
+        return 0;$

-:36: ERROR:CODE_INDENT: code indent should use tabs where possible
#36: FILE: drivers/gpu/drm/drm_fb_helper.c:3368:
+        return -ENODEV;$

-:36: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#36: FILE: drivers/gpu/drm/drm_fb_helper.c:3368:
+        return -ENODEV;$

-:41: ERROR:CODE_INDENT: code indent should use tabs where possible
#41: FILE: drivers/gpu/drm/drm_fb_helper.c:3373:
+        int ret = 0;$

-:41: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#41: FILE: drivers/gpu/drm/drm_fb_helper.c:3373:
+        int ret = 0;$

-:43: ERROR:CODE_INDENT: code indent should use tabs where possible
#43: FILE: drivers/gpu/drm/drm_fb_helper.c:3375:
+        DRM_INFO("Replacing VGA console driver\n");$

-:43: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#43: FILE: drivers/gpu/drm/drm_fb_helper.c:3375:
+        DRM_INFO("Replacing VGA console driver\n");$

-:45: ERROR:CODE_INDENT: code indent should use tabs where possible
#45: FILE: drivers/gpu/drm/drm_fb_helper.c:3377:
+        console_lock();$

-:45: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#45: FILE: drivers/gpu/drm/drm_fb_helper.c:3377:
+        console_lock();$

-:46: ERROR:CODE_INDENT: code indent should use tabs where possible
#46: FILE: drivers/gpu/drm/drm_fb_helper.c:3378:
+        if (con_is_bound(&vga_con))$

-:46: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#46: FILE: drivers/gpu/drm/drm_fb_helper.c:3378:
+        if (con_is_bound(&vga_con))$

-:47: ERROR:CODE_INDENT: code indent should use tabs where possible
#47: FILE: drivers/gpu/drm/drm_fb_helper.c:3379:
+                ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, 1);$

-:47: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#47: FILE: drivers/gpu/drm/drm_fb_helper.c:3379:
+                ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, 1);$

-:48: ERROR:CODE_INDENT: code indent should use tabs where possible
#48: FILE: drivers/gpu/drm/drm_fb_helper.c:3380:
+        if (ret == 0) {$

-:48: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#48: FILE: drivers/gpu/drm/drm_fb_helper.c:3380:
+        if (ret == 0) {$

-:49: ERROR:CODE_INDENT: code indent should use tabs where possible
#49: FILE: drivers/gpu/drm/drm_fb_helper.c:3381:
+                ret = do_unregister_con_driver(&vga_con);$

-:49: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#49: FILE: drivers/gpu/drm/drm_fb_helper.c:3381:
+                ret = do_unregister_con_driver(&vga_con);$

-:51: ERROR:CODE_INDENT: code indent should use tabs where possible
#51: FILE: drivers/gpu/drm/drm_fb_helper.c:3383:
+                /* Ignore "already unregistered". */$

-:52: ERROR:CODE_INDENT: code indent should use tabs where possible
#52: FILE: drivers/gpu/drm/drm_fb_helper.c:3384:
+                if (ret == -ENODEV)$

-:52: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#52: FILE: drivers/gpu/drm/drm_fb_helper.c:3384:
+                if (ret == -ENODEV)$

-:53: ERROR:CODE_INDENT: code indent should use tabs where possible
#53: FILE: drivers/gpu/drm/drm_fb_helper.c:3385:
+                        ret = 0;$

-:53: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#53: FILE: drivers/gpu/drm/drm_fb_helper.c:3385:
+                        ret = 0;$

-:54: ERROR:CODE_INDENT: code indent should use tabs where possible
#54: FILE: drivers/gpu/drm/drm_fb_helper.c:3386:
+        }$

-:54: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#54: FILE: drivers/gpu/drm/drm_fb_helper.c:3386:
+        }$

-:55: ERROR:CODE_INDENT: code indent should use tabs where possible
#55: FILE: drivers/gpu/drm/drm_fb_helper.c:3387:
+        console_unlock();$

-:55: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#55: FILE: drivers/gpu/drm/drm_fb_helper.c:3387:
+        console_unlock();$

-:57: ERROR:CODE_INDENT: code indent should use tabs where possible
#57: FILE: drivers/gpu/drm/drm_fb_helper.c:3389:
+        return ret;$

-:57: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#57: FILE: drivers/gpu/drm/drm_fb_helper.c:3389:
+        return ret;$

total: 15 errors, 14 warnings, 0 checks, 143 lines checked



More information about the Intel-gfx mailing list