diff options
| author | Masahiro Yamada <[email protected]> | 2019-12-26 18:50:56 +0900 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2020-01-10 09:49:27 +0000 |
| commit | 322a9bbb720cd273d2967a375d1887199b361528 (patch) | |
| tree | 0f02ef4cd8fa37b24bb84e47a38450872f28c51f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 935d43ba272e0001f8ef446a3eff15d8175cb11b (diff) | |
iommu/arm-smmu-v3: Fix resource_size check
This is an off-by-one mistake.
resource_size() returns res->end - res->start + 1.
Reviewed-by: Robin Murphy <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions