diff options
| author | Ian Bridges <icb@fastmail.org> | 2026-07-07 01:04:19 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-07-11 15:51:48 -0700 |
| commit | 79d7a453c79e818b8059b1aa6d6a7ad53d9d4f72 (patch) | |
| tree | da6628de996f59c5405d5b6d1b001d6c8abadb91 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 72870cd641edd69b520997c3232d765085a460f2 (diff) | |
Input: i8042 - replace strlcat() with seq_buf and scnprintf()
In preparation for removing the strlcat() API[1], replace its uses in
i8042-acpipnpio.h.
i8042_pnp_id_to_string() accumulates a variable number of PNP ids in
a loop, which is what seq_buf is for. The kbd and aux probe functions
build a name from at most three parts that are all known up front, so
the whole construction becomes a single scnprintf() there.
Link: https://github.com/KSPP/linux/issues/370 [1]
Signed-off-by: Ian Bridges <icb@fastmail.org>
Link: https://patch.msgid.link/akyW4xkvCCROM0SE@dev
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
