cpuidle: powernv: move from strlcpy() with unused retval to strscpy()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:00:01 +0000 (23:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Aug 2022 19:09:54 +0000 (21:09 +0200)
commitccf28724604ee9b8577d21022e31c323d104cca2
tree58baca111dc468481ca6855d60814d9f02faa30f
parentea3747181dc2705ecc697dc98ada7eb135733561
cpuidle: powernv: move from strlcpy() with unused retval to strscpy()

Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-powernv.c