diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2019-02-25 12:00:04 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-05 08:07:56 +0200 |
commit | 43e2d08d0790a09ee1d2c838e33343ee1bcaf610 (patch) | |
tree | 4305a5fa341a546a18760c8d8560599011498df5 /drivers/nvme/target/io-cmd-bdev.c | |
parent | block: bio: ensure newly added bio flags don't override BVEC_POOL_IDX (diff) | |
download | linux-43e2d08d0790a09ee1d2c838e33343ee1bcaf610.tar.xz linux-43e2d08d0790a09ee1d2c838e33343ee1bcaf610.zip |
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>
Diffstat (limited to 'drivers/nvme/target/io-cmd-bdev.c')
0 files changed, 0 insertions, 0 deletions