== Series Details ==
Series: Misc GuC CT improvements - part II (rev2)
URL : https://patchwork.freedesktop.org/series/72071/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
2efc33c45510 drm/i915/guc: Don't GEM_BUG_ON on corrupted G2H CTB
-:53: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tail >=
size'
#53: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:592:
+ if (unlikely(!IS_ALIGNED(head, 4) ||
+ !IS_ALIGNED(tail, 4) ||
+ !IS_ALIGNED(size, 4) ||
+ (tail >= size) || (head >= size))) {
-:53: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'head >=
size'
#53: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:592:
+ if (unlikely(!IS_ALIGNED(head, 4) ||
+ !IS_ALIGNED(tail, 4) ||
+ !IS_ALIGNED(size, 4) ||
+ (tail >= size) || (head >= size))) {
total: 0 errors, 0 warnings, 2 checks, 66 lines checked
3fb92bd3cd12 drm/i915/guc: Don't pass CTB while writing
8eb488a458c8 drm/i915/guc: Don't pass CTB while reading
292d1303bf00 drm/i915/guc: Switch to CT_ERROR in ct_read
d31956e86e8b drm/i915/guc: Introduce CT_DEBUG
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx