]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: bad type conversion for nvme control bits
authorJavier González <jg@lightnvm.io>
Sat, 15 Apr 2017 18:55:44 +0000 (20:55 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 16 Apr 2017 16:06:25 +0000 (10:06 -0600)
commit75603272c60964440ce059347596f1d35831ec2e
tree2ca9777d99d2fa25bdc6ba3426a97f784e8598d1
parentf9b8dc44a6fcae958a9d8313f888adb18074fdb9
lightnvm: bad type conversion for nvme control bits

The NVMe I/O command control bits are 16 bytes, but is interpreted as
32 bytes in the lightnvm user I/O data path.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/lightnvm.c