diff options
| author | Thorsten Blum <[email protected]> | 2025-02-13 14:10:36 +0000 |
|---|---|---|
| committer | Greg Ungerer <[email protected]> | 2025-03-16 23:27:59 +0000 |
| commit | a7130910b80753d52ff8a493cf787bd1c9473404 (patch) | |
| tree | fd6de203d831d7e8c8f9def816a51b6854933ffe /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | m68k: Do not include <linux/fb.h> (diff) | |
| download | kernel-a7130910b80753d52ff8a493cf787bd1c9473404.tar.gz kernel-a7130910b80753d52ff8a493cf787bd1c9473404.zip | |
m68k: mm: Replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers. Use
strscpy() instead and remove the manual NUL-termination.
Compile-tested only.
Link: https://github.com/KSPP/linux/issues/90
Cc: [email protected]
Signed-off-by: Thorsten Blum <[email protected]>
Tested-by: Jean-Michel Hautbois <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
