✗ CI.checkpatch: warning for drm/i915: use fine grained -Woverride-init disable

Patchwork patchwork at emeril.freedesktop.org
Thu Mar 28 10:42:36 UTC 2024


== Series Details ==

Series: drm/i915: use fine grained -Woverride-init disable
URL   : https://patchwork.freedesktop.org/series/131752/
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
10b531c2aeb176a1a539b4a77216232f97719cec
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b68213454037023dcc367dfea998a2ac1cc11ada
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Thu Mar 28 12:24:55 2024 +0200

    drm/i915: use fine grained -Woverride-init disable
    
    Use localized __diag_push(), __diag_ignore_all() with rationale, and
    __diag_pop() for specific initializations instead of blanket disabling
    of -Woverride-init across several files.
    
    Note that we've tried this before with commit 88e9664434c9 ("drm/i915:
    use localized __diag_ignore_all() instead of per file") and reverted in
    commit 290d16104575 ("Revert "drm/i915: use localized
    __diag_ignore_all() instead of per file""). The issue turned out to be
    in __diag_ignore_all() and it was fixed by commit 689b097a06ba
    ("compiler-gcc: Suppress -Wmissing-prototypes warning for all supported
    GCC"). So we should be able to pull this off now.
    
    Cc: "Arnd Bergmann" <arnd at arndb.de>
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 24d2e3b675ed700910939b6bcaeaae3a78cf9c5c drm-intel
b68213454037 drm/i915: use fine grained -Woverride-init disable
-:14: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 689b097a06ba ("compiler-gcc: Suppress -Wmissing-prototypes warning for all supported GCC")'
#14: 
in __diag_ignore_all() and it was fixed by commit 689b097a06ba

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




More information about the Intel-xe mailing list