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

Patchwork patchwork at emeril.freedesktop.org
Fri May 9 17:20:14 UTC 2025


== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
e85c5bae2b5a 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
c2191e99f8f6 ref_tracker: add a top level debugfs directory for ref_tracker
3fc262896e05 ref_tracker: have callers pass output function to pr_ostream()
-:37: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#37: FILE: lib/ref_tracker.c:66:
+	void __ostream_printf (*func)(struct ostream *stream, char *fmt, ...);

total: 0 errors, 1 warnings, 0 checks, 101 lines checked
a70fa1307955 ref_tracker: add a static classname string to each ref_tracker_dir
510b0f8064d9 ref_tracker: allow pr_ostream() to print directly to a seq_file
9d03cbedcbf2 ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
-:155: 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'.
#155: FILE: lib/ref_tracker.c:377:
+	ret = snprintf(name, sizeof(name), "%s@%px", dir->class, dir);

total: 0 errors, 1 warnings, 0 checks, 145 lines checked
c4fa329322d3 ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file
a06899661b02 net: add symlinks to ref_tracker_dir for netns
e2be290a6c6a i915: add ref_tracker_dir symlinks for each tracker
bac6a5d93daf ref_tracker: eliminate the ref_tracker_dir name field




More information about the Intel-gfx mailing list