]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
wdc: Fix endianness bugs
authorBart Van Assche <bvanassche@acm.org>
Tue, 18 Jun 2019 17:15:06 +0000 (10:15 -0700)
committerBart Van Assche <bvanassche@acm.org>
Wed, 19 Jun 2019 16:17:14 +0000 (09:17 -0700)
commitd12bfc33dcfb90c9eecdf5d35df46dc461c40faf
treeb545d1c3bb3e5b9eec47b058bba72528daaceac9
parent8d32fff7f2b4410310b1dc3a7b22ec3016e4a2fc
wdc: Fix endianness bugs

Insert le16_to_cpu() / le32_to_cpu() where required.

Cc: Dong Ho <Dong.Ho@wdc.com>
Fixes: 6bd8ab436693 ("wdc: Add data area extraction for DUI command").
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
plugins/wdc/wdc-nvme.c