aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAbdul Rahim <[email protected]>2024-09-14 02:41:35 +0530
committerRafael J. Wysocki <[email protected]>2024-11-05 21:21:28 +0100
commit95504d54a2751ad3e995c7bbafc2116affb28ab9 (patch)
tree7d2e27dfae4ade64e758f2701b43d732ab05f4fa /scripts/generate_rust_analyzer.py
parent59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff)
ACPI: thermal: Use strscpy() instead of strcpy()
strcpy() is generally considered unsafe and use of strscpy() is recommended [1]. Also using strscpy() instead of strcpy() makes the following checkpatch warning go away: WARNING: Prefer strscpy over strcpy Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Signed-off-by: Abdul Rahim <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions