== Series Details ==

Series: series starting with [1/4] drm/i915/gt: Set unused mocs entry to follow 
PTE on tgl as on all others
URL   : https://patchwork.freedesktop.org/series/69382/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3876af3a2069 drm/i915/gt: Set unused mocs entry to follow PTE on tgl as on all 
others
32b7d4b60407 drm/i915/gt: Tidy up debug-warns for the mocs control table
726603472df5 drm/i915/gt: Refactor mocs loops into single control macro
-:66: CHECK:MACRO_ARG_REUSE: Macro argument reuse 't' - possible side-effects?
#66: FILE: drivers/gpu/drm/i915/gt/intel_mocs.c:345:
+#define for_each_mocs(mocs, t, i) \
+       for (i = 0; \
+            i < (t)->n_entries ? (mocs = get_entry_control((t), i)), 1 : 0;\
+            i++)

-:66: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#66: FILE: drivers/gpu/drm/i915/gt/intel_mocs.c:345:
+#define for_each_mocs(mocs, t, i) \
+       for (i = 0; \
+            i < (t)->n_entries ? (mocs = get_entry_control((t), i)), 1 : 0;\
+            i++)

-:128: CHECK:MACRO_ARG_REUSE: Macro argument reuse 't' - possible side-effects?
#128: FILE: drivers/gpu/drm/i915/gt/intel_mocs.c:400:
+#define for_each_l3cc(l3cc, t, i) \
+       for (i = 0; \
+            i < ((t)->n_entries + 1) / 2 ? \
+            (l3cc = l3cc_combine(get_entry_l3cc((t), 2 * i), \
+                                 get_entry_l3cc((t), 2 * i + 1))), 1 : \
+            0; \
+            i++)

-:128: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#128: FILE: drivers/gpu/drm/i915/gt/intel_mocs.c:400:
+#define for_each_l3cc(l3cc, t, i) \
+       for (i = 0; \
+            i < ((t)->n_entries + 1) / 2 ? \
+            (l3cc = l3cc_combine(get_entry_l3cc((t), 2 * i), \
+                                 get_entry_l3cc((t), 2 * i + 1))), 1 : \
+            0; \
+            i++)

total: 0 errors, 0 warnings, 4 checks, 217 lines checked
eb1c77834cff drm/i915/selftests: Add coverage of mocs registers
-:30: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does 
MAINTAINERS need updating?
#30: 
new file mode 100644

-:35: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier 
tag in line 1
#35: FILE: drivers/gpu/drm/i915/gt/selftest_mocs.c:1:
+/*

-:36: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use 
line 1 instead
#36: FILE: drivers/gpu/drm/i915/gt/selftest_mocs.c:2:
+ * SPDX-License-Identifier: MIT

total: 0 errors, 3 warnings, 0 checks, 433 lines checked

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to