diff options
| author | Ian Bridges <icb@fastmail.org> | 2026-07-14 20:22:41 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-07-15 14:37:31 -0700 |
| commit | 3ed4ba919eb35860ee1867e2851ee3e6f9fe37f5 (patch) | |
| tree | 3c9d24f443ee9154bca2972960a9f2fee3aa670c /tools/perf/scripts/python | |
| parent | 1cd52a99c868b19b419485d2ae9b76ac3e717c2c (diff) | |
Input: wacom_w8001 - replace strlcat() with a strscpy() helper
In preparation for removing the strlcat() API[1], replace its five
uses with a small append helper built on strnlen() and strscpy().
The five calls append device name fragments to a basename buffer
that grows in place across the setup functions. The helper takes
the same arguments as strlcat() and writes the same bytes, including
when a fragment is truncated.
Link: https://github.com/KSPP/linux/issues/370 [1]
Signed-off-by: Ian Bridges <icb@fastmail.org>
Link: https://patch.msgid.link/albg4Rv7QxvLJD05@dev
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
