✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: add snapshot capture/print infra
Patchwork
patchwork at emeril.freedesktop.org
Tue Sep 3 18:28:41 UTC 2024
== Series Details ==
Series: drm/i915/display: add snapshot capture/print infra
URL : https://patchwork.freedesktop.org/series/138151/
State : warning
== Summary ==
Error: dim checkpatch failed
f3820671e52e drm/i915: dump display parameters captured in error state, not current
-:34: WARNING:MACRO_ARG_UNUSED: Argument 'T' is not used in function-like macro
#34: FILE: drivers/gpu/drm/i915/display/intel_display_params.c:185:
+#define PRINT(T, x, ...) _param_print(p, driver_name, #x, params->x);
-:34: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'x' may be better as '(x)' to avoid precedence issues
#34: FILE: drivers/gpu/drm/i915/display/intel_display_params.c:185:
+#define PRINT(T, x, ...) _param_print(p, driver_name, #x, params->x);
-:34: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#34: FILE: drivers/gpu/drm/i915/display/intel_display_params.c:185:
+#define PRINT(T, x, ...) _param_print(p, driver_name, #x, params->x);
total: 0 errors, 2 warnings, 1 checks, 52 lines checked
6365571faddb drm/i915/display: add intel_display_snapshot abstraction
-:28: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#28:
new file mode 100644
-:176: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#176: FILE: drivers/gpu/drm/i915/display/intel_overlay.h:54:
}
+static inline struct intel_overlay_snapshot *
-:183: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#183: FILE: drivers/gpu/drm/i915/display/intel_overlay.h:59:
}
+static inline void intel_overlay_snapshot_print(const struct intel_overlay_snapshot *error,
total: 0 errors, 1 warnings, 2 checks, 207 lines checked
a5cc323f664c drm/i915/display: move device info and params handling to snapshot
cf44129858d1 drm/i915/display: move dmc snapshotting to new display snapshot
More information about the Intel-gfx
mailing list