✗ CI.checkpatch: warning for drm/xe/display: Fix dummy __i915_inject_probe_error()

Patchwork patchwork at emeril.freedesktop.org
Fri Dec 15 20:57:50 UTC 2023


== Series Details ==

Series: drm/xe/display: Fix dummy __i915_inject_probe_error()
URL   : https://patchwork.freedesktop.org/series/127890/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
6030b24c1386b00de8187b5fb987e283a57b372a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7ea1f71b3a23e7698b621500be82600846691849
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Fri Dec 15 12:33:31 2023 -0800

    drm/xe/display: Fix dummy __i915_inject_probe_error()
    
    When CONFIG_DRM_I915_DEBUG is not set, a dummy
    __i915_inject_probe_error() is provided on the xe side. Use the same
    logic as in drivers/gpu/drm/i915/i915_utils.c to ifdef it out. This
    fixes the build with W=1 and without that config:
    
              CC [M]  drivers/gpu/drm/xe/display/ext/i915_utils.o
            ../drivers/gpu/drm/xe/display/ext/i915_utils.c:19:5: error: no previous prototype for ‘__i915_inject_probe_error’ [-Werror=missing-prototypes]
               19 | int __i915_inject_probe_error(struct drm_i915_private *i915, int err,
                  |     ^~~~~~~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch a8ff56e160bbbac0d66e60990001cee38e90cb12 drm-intel
7ea1f71b3 drm/xe/display: Fix dummy __i915_inject_probe_error()
-:16: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#16: 
	   19 | int __i915_inject_probe_error(struct drm_i915_private *i915, int err,

total: 0 errors, 1 warnings, 0 checks, 13 lines checked




More information about the Intel-xe mailing list