On 3/7/2025 1:41 AM, Dan Carpenter wrote:
These are u64 variables that come from the user via qaic_attach_slice_bo_ioctl(). Use check_add_overflow() to ensure that the math doesn't have an integer wrapping bug.Cc: [email protected] Fixes: ff13be830333 ("accel/qaic: Add datapath") Signed-off-by: Dan Carpenter <[email protected]>
Thanks! Reviewed-by: Jeff Hugo <[email protected]>
