diff options
author | Osama Abdelkader <osama.abdelkader@gmail.com> | 2025-09-03 21:20:59 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-05 20:51:28 +0200 |
commit | 5136380b74f1e562ad96268578f22d8b1a29cb90 (patch) | |
tree | be3147987377181b069e96f34df02683461ae4ca /kernel/entry/common.c | |
parent | e54ddc44506f018f75e61c76a213227bd67dffb6 (diff) |
thermal: hwmon: replace deprecated strcpy() with strscpy()
Since strcpy() is deprecated and the last user of it in the thermal
subsystem is thermal_hwmon_lookup_by_type(), replace strcpy() in that
function with strscpy().
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20250903192059.11353-1-osama.abdelkader@gmail.com
[ rjw: Changelog rewrite ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/entry/common.c')
0 files changed, 0 insertions, 0 deletions