diff options
| author | Jeff Layton <jlayton@kernel.org> | 2025-06-18 17:24:16 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-20 03:02:03 +0300 |
| commit | 49c94af071fc6c9f5e1db52b3031dec28daa90c3 (patch) | |
| tree | 49cf6bcec90a520283a10ddb3acc451aba4a24f0 /rust/helpers/pci.c | |
| parent | e209f9193a4724c1d4bc0b155c7beb78aa5d2928 (diff) | |
| download | linux-49c94af071fc6c9f5e1db52b3031dec28daa90c3.tar.xz | |
ref_tracker: have callers pass output function to pr_ostream()
In a later patch, we'll be adding a 3rd mechanism for outputting
ref_tracker info via seq_file. Instead of a conditional, have the caller
set a pointer to an output function in struct ostream. As part of this,
the log prefix must be explicitly passed in, as it's too late for the
pr_fmt macro.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20250618-reftrack-dbgfs-v15-3-24fc37ead144@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions
