diff options
author | Maíra Canal <[email protected]> | 2024-11-01 13:54:09 -0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-11 13:09:43 -0800 |
commit | 93c1e57adeb0aa7d3feedeb82ac19845cbe540de (patch) | |
tree | bce87b6ef7da05bf6fc8359e29d1376f1b899633 /tools/perf/scripts/python/gecko.py | |
parent | 24f9cd195fbc9382ae0ed8b332e6302d1722d8e0 (diff) |
mm: huge_memory: use strscpy() instead of strcpy()
Replace strcpy() with strscpy() in mm/huge_memory.c
strcpy() has been deprecated because it is generally unsafe, so help to
eliminate it from the kernel source.
Link: https://github.com/KSPP/linux/issues/88
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Lance Yang <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: Barry Song <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Ryan Roberts <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions