diff options
| author | Thorsten Blum <[email protected]> | 2025-10-01 13:09:07 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-10-08 16:05:46 +0000 |
| commit | f0c029d2ff42499a62c873c14428f02bf94c28af (patch) | |
| tree | 1d04e5e9f1bc9139d256b96f7eb85cef2bd429ee /lib/mpi/mpi-inline.c | |
| parent | Linux 6.17 (diff) | |
| download | kernel-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
