android_kernel_motorola_sm6375/drivers/nvme
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christoph Hellwig 45686b6198 nvme: fix max_segments integer truncation
The block layer uses an unsigned short for max_segments.  The way we
calculate the value for NVMe tends to generate very large 32-bit values,
which after integer truncation may lead to a zero value instead of
the desired outcome.

Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Jeff Lien <[email protected]>
Tested-by: Jeff Lien <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
2016-03-03 14:43:10 -07:00
..
host nvme: fix max_segments integer truncation 2016-03-03 14:43:10 -07:00
Kconfig
Makefile