diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2025-12-16 22:34:36 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-12-18 09:51:49 -0700 |
| commit | af65faf34f6e9919bdd2912770d25d2a73cbcc7c (patch) | |
| tree | e61c63a111711e7ec73b2ed2fdc73916246753e6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | ccb8a3c08adf8121e2afb8e704f007ce99324d79 (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_gem.c')
0 files changed, 0 insertions, 0 deletions
