== Series Details == Series: Commit early to GuC (rev3) URL : https://patchwork.freedesktop.org/series/72031/ State : warning == Summary == $ dim checkpatch origin/drm-tip 86c2261830f8 drm/i915/debugfs: Pass guc_log struct to i915_guc_log_info 434763d74348 drm/i915/guc: Kill USES_GUC macro 9c3bd7cffa07 drm/i915/guc: Kill USES_GUC_SUBMISSION macro 53a7bb512097 drm/i915/uc: Update the FW status on injected fetch error ac5ee731ad09 drm/i915/uc: autogenerate uC checker functions -:32: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'x' may be better as '(x)' to avoid precedence issues #32: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:43: +#define __uc_state_checker(x, state, required) \ +static inline bool intel_uc_##state##_##x(struct intel_uc *uc) \ +{ \ + return intel_##x##_is_##required(&uc->x); \ } -:42: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #42: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:49: +#define uc_state_checkers(x) \ +__uc_state_checker(x, supports, supported) \ +__uc_state_checker(x, uses, enabled) -:42: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #42: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:49: +#define uc_state_checkers(x) \ +__uc_state_checker(x, supports, supported) \ +__uc_state_checker(x, uses, enabled) total: 1 errors, 0 warnings, 2 checks, 44 lines checked 300e9108bf45 drm/i915/uc: Improve tracking of uC init status c7b983206d15 drm/i915/guc: Apply new uC status tracking to GuC submission as well -:246: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'x' may be better as '(x)' to avoid precedence issues #246: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:65: +#define __uc_state_checker(x, func, state, required) \ +static inline bool intel_uc_##state##_##func(struct intel_uc *uc) \ { \ + return intel_##func##_is_##required(&uc->x); \ } -:257: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #257: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:71: +#define uc_state_checkers(x, func) \ +__uc_state_checker(x, func, supports, supported) \ +__uc_state_checker(x, func, wants, wanted) \ +__uc_state_checker(x, func, uses, used) -:257: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #257: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:71: +#define uc_state_checkers(x, func) \ +__uc_state_checker(x, func, supports, supported) \ +__uc_state_checker(x, func, wants, wanted) \ +__uc_state_checker(x, func, uses, used) -:257: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'func' - possible side-effects? #257: FILE: drivers/gpu/drm/i915/gt/uc/intel_uc.h:71: +#define uc_state_checkers(x, func) \ +__uc_state_checker(x, func, supports, supported) \ +__uc_state_checker(x, func, wants, wanted) \ +__uc_state_checker(x, func, uses, used) total: 1 errors, 0 warnings, 3 checks, 250 lines checked 6df67d7fcd06 drm/i915/uc: Abort early on uc_init failure e5b2f4d6ca34 drm/i915/uc: consolidate firmware cleanup 70b2b644b94a HAX: drm/i915: default to enable_guc=2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx