nvmet: add missing byte swap in nvmet_get_smart_log
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Mar 2017 15:00:06 +0000 (17:00 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Sun, 2 Apr 2017 07:24:15 +0000 (10:24 +0300)
commit5ac5fcc6c7a2339a34c876a9b6926a7f17225493
tree74b594ebc644a861416d38188d94c9dbf3670e1a
parentf1dd03a84dbf3e5ca91295a3d04c882b8bd86251
nvmet: add missing byte swap in nvmet_get_smart_log

In this case entirely harmless as it's all-ones, but still nice to
shut up sparse.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/target/admin-cmd.c