diff options
| author | 2025-09-17 15:13:47 +0200 | |
|---|---|---|
| committer | 2025-10-22 07:54:41 +0200 | |
| commit | 48d45ae4ddaadaf67408cc588596a96b282ce2b4 (patch) | |
| tree | 001790f98a47403113ffe36641f0fc4d04bf7844 /scripts/Makefile.thinlto | |
| parent | cdx: make cdx_bus_type constant (diff) | |
comedi: Replace kcalloc + copy_from_user with memdup_array_user
Replace kcalloc() followed by copy_from_user() with memdup_array_user()
to improve and simplify comedi_unlocked_ioctl().
No functional changes intended.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://patch.msgid.link/20250917131349.117642-2-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
