diff options
| author | Roxana Nicolescu <nicolescu.roxana@protonmail.com> | 2025-03-27 14:50:05 +0000 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:13:24 -0400 |
| commit | 4e2caf82ce958d1fae96a6d6ba23ea9e80c597b4 (patch) | |
| tree | b10118ed557a0c0ee19baf354ea6217c22ff1851 /tools/perf/scripts/python | |
| parent | 8c087d2ddf5d4d8c07bec96531a5f5629066cd00 (diff) | |
| download | linux-4e2caf82ce958d1fae96a6d6ba23ea9e80c597b4.tar.gz linux-4e2caf82ce958d1fae96a6d6ba23ea9e80c597b4.zip | |
bcachefs: replace strncpy() with memcpy_and_pad in journal_transaction_name
Strncpy is now deprecated.
The buffer destination is not required to be NULL-terminated, but we also
want to zero out the rest of the buffer as it is already done in other
places.
Link: https://github.com/KSPP/linux/issues/90
Signed-off-by: Roxana Nicolescu <nicolescu.roxana@protonmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
