aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-03-07 11:35:47 +0000
committerPetr Pavlu <[email protected]>2025-03-10 10:56:03 +0000
commit6380bf8ff90213282a7a7f99697964a9c2bd6899 (patch)
tree4da11d229e256f44768e85be788bf052657fabf5 /scripts/generate_rust_analyzer.py
parentparams: Annotate struct module_param_attrs with __counted_by() (diff)
downloadkernel-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