diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2024-12-18 05:02:12 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-12-18 17:22:30 +0300 |
commit | 51588b1b77b65cd0fb3440f78f37bef7178a2715 (patch) | |
tree | 0823a5d0981bedd32da3c95a21f845e14d4c6b06 /scripts/extract-fwblobs | |
parent | 26fff8a4432ffd03409346b7dae1e1a2c5318b7c (diff) | |
download | linux-51588b1b77b65cd0fb3440f78f37bef7178a2715.tar.xz |
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 <mcgrof@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241218020212.3657139-3-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions