diff options
| author | Jesse Zhang <[email protected]> | 2024-05-21 06:48:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-23 19:09:35 +0000 |
| commit | 64da71ea76418550aafd85740dfde074c99a3a6c (patch) | |
| tree | 13f7aa4a6f36e3f40bb87564039815bc325106fe /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/admgpu: fix dereferencing null pointer context (diff) | |
| download | kernel-64da71ea76418550aafd85740dfde074c99a3a6c.tar.gz kernel-64da71ea76418550aafd85740dfde074c99a3a6c.zip | |
drm/amdgpu: fix invadate operation for umsch
Since the type of data_size is uint32_t, adev->umsch_mm.data_size - 1 >> 16 >> 16 is 0
regardless of the values of its operands
So removing the operations upper_32_bits and lower_32_bits.
Signed-off-by: Jesse Zhang <[email protected]>
Suggested-by: Tim Huang <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
