diff options
| author | Ce Sun <cesun102@amd.com> | 2026-05-11 18:04:57 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-19 11:45:42 -0400 |
| commit | cc768f4dd0bb9083c813683eeec44fc23921f771 (patch) | |
| tree | 2d44592565197b30375ec25ff905327072c893d2 /include/linux/timerqueue.h | |
| parent | 911b1bdd22c3712a22b60fcc58f7b9f2d07b0803 (diff) | |
drm/amdgpu: avoid integer overflow in VA range check
The original addition operation in 64-bit unsigned type may encounter
overflow situations. To prevent such issues and safely reject invalid
inputs, the check_add_overflow() function is used.
Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
