✗ CI.checkpatch: warning for drm/xe: Fix END redefinition

Patchwork patchwork at emeril.freedesktop.org
Fri Mar 22 16:29:28 UTC 2024


== Series Details ==

Series: drm/xe: Fix END redefinition
URL   : https://patchwork.freedesktop.org/series/131499/
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
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7d92c5ab392297abc711afd1c0f02d059c7fe570
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Fri Mar 22 07:48:43 2024 -0700

    drm/xe: Fix END redefinition
    
    mips declares an END macro in its headers so it can't be used without
    namespace in a driver like xe.
    
    Instead of coming up with a longer name, just remove the macro and
    replace its use with 0 since it's still clear what that means:
    set_offsets() was already using that implicitly when checking the data
    variable.
    
    Closes: http://kisskb.ellerman.id.au/kisskb/buildresult/15143996/
    Reported-by: Guenter Roeck <linux at roeck-us.net>
    Tested-by: Guenter Roeck <linux at roeck-us.net>
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
    Reviewed-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch a69187c8b4ee770b05c8acb9754efb80c5447031 drm-intel
7d92c5ab3922 drm/xe: Fix END redefinition
-:15: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#15: 
Reported-by: Guenter Roeck <linux at roeck-us.net>
Tested-by: Guenter Roeck <linux at roeck-us.net>

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




More information about the Intel-xe mailing list