diff options
| author | Carl Vanderlip <quic_carlv@quicinc.com> | 2025-10-07 19:42:18 +0200 |
|---|---|---|
| committer | Jeff Hugo <jeff.hugo@oss.qualcomm.com> | 2025-10-14 09:52:24 -0600 |
| commit | 6bee90901fb16f99808da8423a976a99aef4d6c9 (patch) | |
| tree | 9713c3bccdf2d58f0bcaf8a8ac053f0eb0f33f22 /rust/kernel/alloc/allocator/git@git.tavy.me:linux.git | |
| parent | 4981c2a0663beea1affdf77714e1c4afee9cc91b (diff) | |
accel/qaic: Use overflow check function instead of division
Division is an expensive operation. Overflow check functions exist
already. Use existing overflow check functions rather than dividing to
check for overflow.
Signed-off-by: Carl Vanderlip <quic_carlv@quicinc.com>
Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Reviewed-by: Carl Vanderlip <carl.vanderlip@oss.qualcomm.com>
Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251007174218.469867-1-youssef.abdulrahman@oss.qualcomm.com
Diffstat (limited to 'rust/kernel/alloc/allocator/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
