[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/guc: Use lockless list for destroyed contexts

Patchwork patchwork at emeril.freedesktop.org
Wed Dec 22 23:41:48 UTC 2021


== Series Details ==

Series: drm/i915/guc: Use lockless list for destroyed contexts
URL   : https://patchwork.freedesktop.org/series/98316/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
dc0006ee6d95 drm/i915/guc: Use lockless list for destroyed contexts
-:84: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'guc' may be better as '(guc)' to avoid precedence issues
#84: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:2699:
+#define take_destroyed_contexts(guc) \
+	llist_del_all(&guc->submission_state.destroyed_contexts)

-:109: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#109: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:2710:
+	llist_for_each_entry_safe(ce, cn, take_destroyed_contexts(guc),
+				 destroyed_link) {

-:134: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#134: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:2721:
+	llist_for_each_entry_safe(ce, cn, take_destroyed_contexts(guc),
+				 destroyed_link)

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




More information about the Intel-gfx mailing list