]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: avoid double dereference to convert le to cpu
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 25 Feb 2019 11:00:04 +0000 (13:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 5 Apr 2019 06:07:56 +0000 (08:07 +0200)
commitc05c5a33473f68d260f74a38ddc48b4ba05c0193
tree4305a5fa341a546a18760c8d8560599011498df5
parent24991c8218de5d35ea95469fcd21f60a720aafb9
nvme: avoid double dereference to convert le to cpu

Use le16_to_cpu instead of le16_to_cpup and le64_to_cpu instead of
le64_to_cpup. This will also align the code to nvme-core driver
convention.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c