✗ Fi.CI.CHECKPATCH: warning for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir (rev2)

Patchwork patchwork at emeril.freedesktop.org
Wed Apr 30 16:02:18 UTC 2025


== Series Details ==

Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir (rev2)
URL   : https://patchwork.freedesktop.org/series/148490/
State : warning

== Summary ==

Error: dim checkpatch failed
f0632fff3e24 ref_tracker: don't use %pK in pr_ostream() output
-:14: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#14: 
[1]: https://lore.kernel.org/netdev/20250414-restricted-pointers-net-v1-0-12af0ce46cdd@linutronix.de/

total: 0 errors, 1 warnings, 0 checks, 23 lines checked
7af5de7ffb73 ref_tracker: add a top level debugfs directory for ref_tracker
c9eb4e93c28c ref_tracker: have callers pass output function to pr_ostream()
-:27: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#27: FILE: lib/ref_tracker.c:70:
+	void __ostream_printf (*func)(struct ostream *stream, char *fmt, ...);

total: 0 errors, 1 warnings, 0 checks, 96 lines checked
401bc4a9b1f9 ref_tracker: add a static classname string to each ref_tracker_dir
bb2ac73e4d1d ref_tracker: allow pr_ostream() to print directly to a seq_file
ff67e621860a ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
-:153: WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'.
#153: FILE: lib/ref_tracker.c:379:
+	ret = snprintf(name, sizeof(name), "%s@%px", dir->class, dir);

total: 0 errors, 1 warnings, 0 checks, 142 lines checked
3f79a4b950fc ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file
bed6b796f810 net: add symlinks to ref_tracker_dir for netns
5695a0115ba5 i915: add ref_tracker_dir symlinks for each tracker
77f74913721e ref_tracker: eliminate the ref_tracker_dir name field




More information about the Intel-gfx mailing list