[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Add WA kunit support to MTL/LNL (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 30 01:22:23 UTC 2023


== Series Details ==

Series: drm/xe: Add WA kunit support to MTL/LNL (rev2)
URL   : https://patchwork.freedesktop.org/series/126609/
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 e1b92422ee0653e9399bf179ab9c73d30b171254
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Wed Nov 29 15:28:07 2023 -0800

    drm/xe/kunit: Test WAs for MTL and LNL
    
    Now that the kunit infra has proper support for GMD_ID platforms, add a
    few variants of MTL and LNL.
    
    v2: Remove bogus check for setting both media and graphics version in
        test (Matt Roper)
    
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
    Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
+ /mt/dim checkpatch ff1db4de1e4054052fbf99ef307757fd2bc74df5 drm-intel
2e86ad32b 20231129214509.1174116-1-michal.winiarski at intel.com
-:186: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'xe__' - possible side-effects?
#186: FILE: drivers/gpu/drm/xe/xe_device.h:127:
+#define for_each_remote_tile(tile__, xe__, id__) \
+	for ((id__) = 1; (id__) < (xe__)->info.tile_count; (id__)++) \
+		for_each_if((tile__) = &(xe__)->tiles[(id__)])

-:186: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id__' - possible side-effects?
#186: FILE: drivers/gpu/drm/xe/xe_device.h:127:
+#define for_each_remote_tile(tile__, xe__, id__) \
+	for ((id__) = 1; (id__) < (xe__)->info.tile_count; (id__)++) \
+		for_each_if((tile__) = &(xe__)->tiles[(id__)])

-:777: ERROR:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author '"Michał Winiarski" <michal.winiarski at intel.com>'

total: 1 errors, 0 warnings, 2 checks, 661 lines checked
e4f39b3cf drm/xe/kunit: Remove handling of XE_TEST_SUBPLATFORM_ANY
d7f9fc665 drm/xe/kunit: Move fake pci data to test-priv
1c80b9937 drm/xe/kunit: Add stub to read_gmdid
e1b92422e drm/xe/kunit: Test WAs for MTL and LNL




More information about the Intel-xe mailing list