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

Patchwork patchwork at emeril.freedesktop.org
Tue May 27 13:53:45 UTC 2025


== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
7fb739a2517e 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
82a92b0fc063 ref_tracker: add a top level debugfs directory for ref_tracker
9a6225313957 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
08818c5c26ad ref_tracker: add a static classname string to each ref_tracker_dir
146f59dd820d ref_tracker: allow pr_ostream() to print directly to a seq_file
e9f0d7b7ad64 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
d1cde87a19a2 ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file
4a6a87f79cd0 net: add symlinks to ref_tracker_dir for netns
99fc3db6f582 ref_tracker: eliminate the ref_tracker_dir name field




More information about the Intel-gfx mailing list