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)
commite85292feb98ca8ba4dcd6b5d33e1214a4b54512d
tree2ca9777d99d2fa25bdc6ba3426a97f784e8598d1
parent7d1ef2f408abecc05f9dfaec1095098a090879dc
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