On 11/3/2025 11:15 AM, Thorsten Blum wrote: > Replace kmalloc_array() followed by copy_from_user() with > memdup_array_user() to improve and simplify cs_ioctl_engine_cores(), > cs_ioctl_engines(), and hl_multi_cs_wait_ioctl(). > > Remove the unused variable 'size_to_copy' from hl_multi_cs_wait_ioctl(). > > No functional changes intended. > > Reviewed-by: Karol Wachowski <[email protected]> > Reviewed-by: Konstantin Sinyuk <[email protected]> > Signed-off-by: Thorsten Blum <[email protected]>
Applied to accel/habanalabs-next, thanks.
