diff options
author | Jesse Zhang <jesse.zhang@amd.com> | 2024-04-25 15:16:40 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:45 -0400 |
commit | ea686fef5489ef7a2450a9fdbcc732b837fb46a8 (patch) | |
tree | 5c34c0217d92364b8a026cb8b257d07984a6e2cd /drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | |
parent | 029c2b03892bfd7bcf2fc8053ff1641aa73ff58c (diff) |
drm/amdgpu: fix the warning about the expression (int)size - len
Converting size from size_t to int may overflow.
v2: keep reverse xmas tree order (Christian)
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c')
0 files changed, 0 insertions, 0 deletions