diff options
| author | Thorsten Blum <[email protected]> | 2025-03-07 11:35:47 +0000 |
|---|---|---|
| committer | Petr Pavlu <[email protected]> | 2025-03-10 10:56:03 +0000 |
| commit | 6380bf8ff90213282a7a7f99697964a9c2bd6899 (patch) | |
| tree | 4da11d229e256f44768e85be788bf052657fabf5 /scripts/generate_rust_analyzer.py | |
| parent | params: Annotate struct module_param_attrs with __counted_by() (diff) | |
| download | kernel-6380bf8ff90213282a7a7f99697964a9c2bd6899.tar.gz kernel-6380bf8ff90213282a7a7f99697964a9c2bd6899.zip | |
module: Replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers; use
strscpy() instead. The destination buffer ownername is only used with
"%s" format strings and must therefore be NUL-terminated, but not NUL-
padded.
No functional changes intended.
Link: https://github.com/KSPP/linux/issues/90
Cc: [email protected]
Signed-off-by: Thorsten Blum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
