Commit ce43cf3
drm/gma500: 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: KSPP/linux#90
Cc: [email protected]
Signed-off-by: Thorsten Blum <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Patrik Jakobsson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]1 parent f83a9b8 commit ce43cf3
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
858 | | - | |
859 | | - | |
| 858 | + | |
860 | 859 | | |
861 | 860 | | |
862 | 861 | | |
| |||
0 commit comments