summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-26 20:45:15 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-02-07 02:47:15 +0300
commitad789a85b1633ea84ad8ccf625588d6416877e69 (patch)
tree6deeffa14f0ad6a977893f405a0108d3320dd4f6 /include
parente2c3b6b21c77f72e5e36a076594eb56c714fce0c (diff)
downloadlinux-ad789a85b1633ea84ad8ccf625588d6416877e69.tar.xz
mm/cma: replace snprintf with strscpy in cma_new_area
Replace snprintf("%s", ...) with the faster and more direct strscpy(). Link: https://lkml.kernel.org/r/20260126174516.236968-1-thorsten.blum@linux.dev Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: SeongJae Park <sj@kernel.org> Cc: David Hildenbrand <david@kernel.org> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions