aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-07-15 16:58:04 +0000
committerDarrick J. Wong <[email protected]>2021-07-15 16:58:04 +0000
commit49694d14ff68fa4b5f86019dbcfb44a8bd213e58 (patch)
tree00428e85f46cb4db548092862fa538a4dda67fd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentiomap: remove the length variable in iomap_seek_data (diff)
downloadkernel-49694d14ff68fa4b5f86019dbcfb44a8bd213e58.tar.gz
kernel-49694d14ff68fa4b5f86019dbcfb44a8bd213e58.zip
iomap: remove the length variable in iomap_seek_hole
The length variable is rather pointless given that it can be trivially deduced from offset and size. Also the initial calculation can lead to KASAN warnings. Signed-off-by: Christoph Hellwig <[email protected]> Reported-by: Leizhen (ThunderTown) <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions