[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Re-org uC debugfs files and move them under GT

Patchwork patchwork at emeril.freedesktop.org
Fri Feb 28 05:54:08 UTC 2020


== Series Details ==

Series: Re-org uC debugfs files and move them under GT
URL   : https://patchwork.freedesktop.org/series/74051/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
342d7bf407c2 drm/i915/guc: drop stage_pool debugfs
dfe41cbafaee drm/i915/uc: mark structure passed to checker functions as const
4d8f194b0199 drm/i915/huc: make "support huc" reflect HW capabilities
930ae359ffad drm/i915/debugfs: move uC printers and update debugfs file names
a4b27a2cdac1 drm/i915/uc: Move uC debugfs to its own folder under GT
-:57: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#57: 
new file mode 100644

-:410: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'files__' - possible side-effects?
#410: FILE: drivers/gpu/drm/i915/gt/uc/debugfs_uc.h:33:
+#define debugfs_uc_register_files(files__, root__, data__) \
+do { \
+	int i__ = 0; \
+	for (i__ = 0; i__ < ARRAY_SIZE(files__); i__++) { \
+		debugfs_create_file(files__[i__].name, \
+				    0444, root__, data__, \
+				    files__[i__].fops); \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 1 checks, 528 lines checked
2919c449e528 drm/i915/uc: do not free err log on uc_fini



More information about the Intel-gfx mailing list