Re: [PATCH] drm/amdgpu: Replace deprecated function strcpy() with strscpy()

2025-04-05 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Mar 24, 2025 at 8:08 PM Andres Urian Florez wrote: > > 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

Re: [PATCH] drm/amdgpu: Replace deprecated function strcpy() with strscpy()

2025-03-25 Thread Christian König
Am 25.03.25 um 14:30 schrieb Alex Deucher: > On Tue, Mar 25, 2025 at 4:38 AM Christian König > wrote: >> Alex shouldn't be try to completely nuke the CGS functions? > Sure, but it would need to be replaced with something else so I'm not > sure it's worth the effort since it's only used by a few ol

Re: [PATCH] drm/amdgpu: Replace deprecated function strcpy() with strscpy()

2025-03-25 Thread Alex Deucher
On Tue, Mar 25, 2025 at 9:50 AM Christian König wrote: > > Am 25.03.25 um 14:30 schrieb Alex Deucher: > > On Tue, Mar 25, 2025 at 4:38 AM Christian König > > wrote: > >> Alex shouldn't be try to completely nuke the CGS functions? > > Sure, but it would need to be replaced with something else so I

Re: [PATCH] drm/amdgpu: Replace deprecated function strcpy() with strscpy()

2025-03-25 Thread Alex Deucher
On Tue, Mar 25, 2025 at 4:38 AM Christian König wrote: > > Alex shouldn't be try to completely nuke the CGS functions? Sure, but it would need to be replaced with something else so I'm not sure it's worth the effort since it's only used by a few older GPUs. Alex > > Christian. > > Am 25.03.25 u

Re: [PATCH] drm/amdgpu: Replace deprecated function strcpy() with strscpy()

2025-03-25 Thread Christian König
Alex shouldn't be try to completely nuke the CGS functions? Christian. Am 25.03.25 um 01:07 schrieb Andres Urian Florez: > 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.ht