linux/drivers/nvme
Keith Busch 74fbc88e16 nvme-core: check for too small lba shift
The block layer doesn't support logical block sizes smaller than 512
bytes. The nvme spec doesn't support that small either, but the driver
isn't checking to make sure the device responded with usable data.
Failing to catch this will result in a kernel bug, either from a
division by zero when stacking, or a zero length bio.

Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2023-12-01 07:49:50 -08:00
..
common nvme: keyring: fix conditional compilation 2023-11-08 08:07:08 -08:00
host nvme-core: check for too small lba shift 2023-12-01 07:49:50 -08:00
target nvme: target: fix Kconfig select statements 2023-11-22 18:40:14 -07:00
Kconfig nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
Makefile nvme: common: make keyring and auth separate modules 2023-11-07 10:05:15 -08:00