drm/radeon: Prefer strscpy over strlcpy calls in radeon_atombios.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Wed, 26 Jul 2023 14:56:30 +0000 (20:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2023 19:05:32 +0000 (15:05 -0400)
commit7ea1db28119e237d634c6f74ba52056939c009ad
tree42a029a79fb0d9dbd5b36dc9e0dc6e3b1d5dc46a
parent6f38bdb86a056707b9ecb09e3b44adedc8e8d8a0
drm/radeon: Prefer strscpy over strlcpy calls in radeon_atombios.c

Use the strscpy method instead of strlcpy method.

Fixes the below:

WARNING: Prefer strscpy over strlcpy

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atombios.c