Re: [PATCH RESEND] accel/habanalabs: Replace kmalloc_array + copy_from_user with memdup_array_user

2025-09-27 Thread Sinyuk, Konstantin
Hi Thorsten, Thanks for the cleanup! Reviewed-by: Konstantin Sinyuk I will pick this up during the 6.18-rc merge window. Best regards, Konstantin On 9/27/2025 7:56 PM, Thorsten Blum wrote: > Replace kmalloc_array() followed by copy_from_user() with > memdup_array_user() to improve and simplif

Re: [bug report] accel/habanalabs: add NVMe Direct I/O (HLDIO) infrastructure

2025-09-27 Thread Sinyuk, Konstantin
Hi Dan, Thanks for catching this. You're right, `bd` is dereferenced before being checked in hl_dio_fd_register(). I'll send a fix that moves the NULL check before the dereference. Konstantin. On Sat, Sep 27, 2025 at 02:21:00PM +, Dan Carpenter wrote: > Hello Konstantin Sinyuk, > > This is