✗ Fi.CI.CHECKPATCH: warning for ref_tracker: add ability to register a debugfs file for a ref_tracker_dir (rev10)
Patchwork
patchwork at emeril.freedesktop.org
Tue Jun 10 15:25:24 UTC 2025
== Series Details ==
Series: ref_tracker: add ability to register a debugfs file for a ref_tracker_dir (rev10)
URL : https://patchwork.freedesktop.org/series/148490/
State : warning
== Summary ==
Error: dim checkpatch failed
7416fa10fdeb 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
cc0a4ff44289 ref_tracker: add a top level debugfs directory for ref_tracker
f5e568dd30d8 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, 102 lines checked
f1cd5802a197 ref_tracker: add a static classname string to each ref_tracker_dir
c44fa4be8761 ref_tracker: allow pr_ostream() to print directly to a seq_file
516372f43cb0 ref_tracker: automatically register a file in debugfs for a ref_tracker_dir
-:214: 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'.
#214: FILE: lib/ref_tracker.c:427:
+ ret = snprintf(name, sizeof(name), "%s@%px", dir->class, dir);
-:219: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#219: FILE: lib/ref_tracker.c:432:
+ dentry = debugfs_create_file(name, S_IFREG | 0400,
+ ref_tracker_debug_dir, dir,
total: 0 errors, 1 warnings, 1 checks, 212 lines checked
a18dbc681006 ref_tracker: add a way to create a symlink to the ref_tracker_dir debugfs file
ee28f5f7b691 net: add symlinks to ref_tracker_dir for netns
90657ff12093 ref_tracker: eliminate the ref_tracker_dir name field
More information about the Intel-gfx
mailing list