summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-12-16 22:34:36 -0700
committerJens Axboe <axboe@kernel.dk>2025-12-18 09:51:49 -0700
commitaf65faf34f6e9919bdd2912770d25d2a73cbcc7c (patch)
treee61c63a111711e7ec73b2ed2fdc73916246753e6 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentccb8a3c08adf8121e2afb8e704f007ce99324d79 (diff)
block: validate interval_exp integrity limit
Various code assumes that the integrity interval is at least 1 sector and evenly divides the logical block size. Add these checks to blk_validate_integrity_limits(). This guards against block drivers that report invalid interval_exp values. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions