[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Fixes for selective fetch area calculation (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue May 10 19:29:39 UTC 2022


== Series Details ==

Series: Fixes for selective fetch area calculation (rev3)
URL   : https://patchwork.freedesktop.org/series/103659/
State : warning

== Summary ==

Error: dim checkpatch failed
ece060bdc2d4 drm/print: Add drm_debug_once* macros
-:34: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#34: FILE: include/drm/drm_print.h:488:
+#define drm_dbg_once_core(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)

-:36: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#36: FILE: include/drm/drm_print.h:490:
+#define drm_dbg_once(drm, fmt, ...)						\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)

-:38: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#38: FILE: include/drm/drm_print.h:492:
+#define drm_dbg_once_kms(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_KMS, fmt, ##__VA_ARGS__)

-:40: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#40: FILE: include/drm/drm_print.h:494:
+#define drm_dbg_once_prime(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_PRIME, fmt, ##__VA_ARGS__)

-:42: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#42: FILE: include/drm/drm_print.h:496:
+#define drm_dbg_once_atomic(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_ATOMIC, fmt, ##__VA_ARGS__)

-:44: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#44: FILE: include/drm/drm_print.h:498:
+#define drm_dbg_once_vbl(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)

-:46: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#46: FILE: include/drm/drm_print.h:500:
+#define drm_dbg_once_state(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_STATE, fmt, ##__VA_ARGS__)

-:48: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#48: FILE: include/drm/drm_print.h:502:
+#define drm_dbg_once_lease(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_LEASE, fmt, ##__VA_ARGS__)

-:50: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#50: FILE: include/drm/drm_print.h:504:
+#define drm_dbg_once_dp(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_DP, fmt, ##__VA_ARGS__)

-:52: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'drm' - possible side-effects?
#52: FILE: include/drm/drm_print.h:506:
+#define drm_dbg_once_drmres(drm, fmt, ...)					\
+	drm_dev_dbg_once((drm) ? (drm)->dev : NULL, DRM_UT_DRMRES, fmt, ##__VA_ARGS__)

total: 0 errors, 0 warnings, 10 checks, 35 lines checked
cbb0b0954a2a drm/i915/psr: Use full update In case of area calculation fails
41e31dcdd4be drm/i915: Ensure damage clip area is within pipe area




More information about the Intel-gfx mailing list