aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-10-01 13:09:07 +0000
committerSteven Rostedt (Google) <[email protected]>2025-10-08 16:05:46 +0000
commitf0c029d2ff42499a62c873c14428f02bf94c28af (patch)
tree1d04e5e9f1bc9139d256b96f7eb85cef2bd429ee /lib/mpi/mpi-inline.c
parentLinux 6.17 (diff)
downloadkernel-f0c029d2ff42499a62c873c14428f02bf94c28af.tar.gz
kernel-f0c029d2ff42499a62c873c14428f02bf94c28af.zip
tracing/osnoise: Replace kmalloc + copy_from_user with memdup_user_nul
Replace kmalloc() followed by copy_from_user() with memdup_user_nul() to simplify and improve osnoise_cpus_write(). Remove the manual NUL-termination. No functional changes intended. Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Thorsten Blum <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions