tracing: Replace strncpy() with strscpy() when copying comm
Replace the depreciated[1] strncpy() calls with strscpy() when copying comm. Link: https://github.com/KSPP/linux/issues/90 [1] Cc: <mhiramat@kernel.org> Cc: <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20241031120139.1343025-1-ruanjinjie@huawei.com Signed-off-by:Jinjie Ruan <ruanjinjie@huawei.com> Signed-off-by:
Steven Rostedt (Google) <rostedt@goodmis.org>
Loading
Please sign in to comment