diff options
| author | Josephine Pfeiffer <hi@josie.lol> | 2025-10-18 19:05:21 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-10-21 10:29:50 +0200 |
| commit | 215231deeadd5942ce9fd61ea420c2c2105f6459 (patch) | |
| tree | 74ec7e1d8923ab5f9b2beb34751db935c993f482 /lib/debugobjects.c | |
| parent | 5e09c0a03eb9a2710e42d2291751ed27e1b14f76 (diff) | |
s390/ptdump: Use seq_puts() in pt_dump_seq_puts() macro
The pt_dump_seq_puts() macro incorrectly uses seq_printf() instead of
seq_puts(). This is both a performance issue and conceptually wrong,
as the macro name suggests plain string output (puts) but the
implementation uses formatted output (printf).
The macro is used in dump_pagetables.c:67-68 and 131 to output
constant strings. Using seq_printf() adds unnecessary overhead for
format string parsing.
Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
