aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLuis Chamberlain <[email protected]>2024-12-18 02:02:12 +0000
committerJens Axboe <[email protected]>2024-12-18 14:22:30 +0000
commit51588b1b77b65cd0fb3440f78f37bef7178a2715 (patch)
tree0823a5d0981bedd32da3c95a21f845e14d4c6b06 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentblock/bdev: use helper for max block size check (diff)
downloadkernel-51588b1b77b65cd0fb3440f78f37bef7178a2715.tar.gz
kernel-51588b1b77b65cd0fb3440f78f37bef7178a2715.zip
nvme: use blk_validate_block_size() for max LBA check
The block layer already has support to validates proper block sizes with blk_validate_block_size(), we can leverage that as well. No functional changes. Signed-off-by: Luis Chamberlain <[email protected]> Reviewed-by: John Garry <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions