diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-11-13 13:36:40 +0000 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-12-16 21:48:22 -0500 |
| commit | a743b120227a371f37c46738d91cc7a9691dbcf6 (patch) | |
| tree | 6dd9fa73fe69f3e57240ac7a21d94e71b8ef3066 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | e642331c942003f58dba6e33c8ee93402211b7b6 (diff) | |
scsi: scsi_debug: Stop printing extra function name in debug logs
The driver defines as follows pr_fmt:
#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
...meaning that we already get the function name added in any debug
statements.
Remove using of __func__ in debug logs to avoid the duplication.
For instances of where the function name was being printed, add some
verbose comment to avoid using "" (which would be a bit silly).
It would be nicer to stop using pr_fmt(), but that would mean rewriting
approx 100 debug statements to have a sensible and clear message.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20251113133645.2898748-2-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
