]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Replace deprecated function strcpy() with strscpy()
authorAndres Urian Florez <andres.emb.sys@gmail.com>
Tue, 25 Mar 2025 00:07:21 +0000 (19:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:33 +0000 (15:18 -0400)
commitc6ae8d587eeb2d285ee13d064fd73ad0568198c4
tree385564c98399b4b52eef5407a65d3a0a53cdec3d
parent48b733d99b0d8db01fcf55d7ae31f69510fb1a4a
drm/amdgpu: Replace deprecated function strcpy() with strscpy()

Instead of using the strcpy() deprecated function to populate the
fw_name, use the strscpy() function

Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy
Signed-off-by: Andres Urian Florez <andres.emb.sys@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c