aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorMuhammad Qasim Abdul Majeed <[email protected]>2024-09-15 23:38:20 +0500
committerRafael J. Wysocki <[email protected]>2024-11-05 21:35:36 +0100
commit0dac2f74f31d55a6c1a877bd2ba6bf0ceb43b207 (patch)
tree048953ac61784b3130fd5734efac1a5731d2e04c /rust/helpers/mutex.c
parentc4ff125e372552ae0446ca9c810ae00f056b2753 (diff)
ACPI: SBSHC: Use strscpy() instead of strcpy()
Replace strcpy() with strscpy() in the ACPI SBSHC driver. strcpy() has been deprecated because it is generally unsafe, so it is better to eliminate it from the kernel source. Link: https://github.com/KSPP/linux/issues/88 Signed-off-by: Muhammad Qasim Abdul Majeed <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions