aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2016-07-07 09:54:10 +0200
committerJens Axboe <axboe@fb.com>2016-07-07 08:51:52 -0600
commit6f929702191deb12d3cef8d9b7e774c0ab54fe5b (patch)
tree062a5c792deb5f8e98405e0d073a8cd8864b2473 /drivers/lightnvm
parentlightnvm: initialize ppa_addr in dev_to_generic_addr() (diff)
downloadlinux-dev-6f929702191deb12d3cef8d9b7e774c0ab54fe5b.tar.xz
linux-dev-6f929702191deb12d3cef8d9b7e774c0ab54fe5b.zip
nvme: lightnvm: make MLC num_pairs little endian
According to the OpenChannel SSD interface specification the NAND flash MLC page pairing information's number of page page pairings field is the first two bytes in the MLC Page Pairing data structure. The hardware's data structure itself is little endian so annotate it as such, like the rest of lighnvm's data structures. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions