On 10/15/2025 9:22 AM, Youssef Samir wrote:
From: Sourab Bera <[email protected]>
Replace the current logic to check overflow, with the kernel-provided
macro `check_mul_overflow` in the function __qaic_execute_bo_ioctl().
Signed-off-by: Sourab Bera <[email protected]>
Signed-off-by: Youssef Samir <[email protected]>
Youssef,
It looks like this conflicts with "accel/qaic: Replace kcalloc +
copy_from_user with memdup_array_user". It looks like we don't need to
bring back the overflow check, which would make this change no longer
needed.
Can you have a look and see if you agree?
-Jeff