summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2017-01-26 18:17:28 +0300
committerJens Axboe <axboe@fb.com>2017-02-22 23:34:00 +0300
commit986994a27587efd8ce4c595cab89b570f7475359 (patch)
treed15adc87e0864d0a79c1a1cfc01bd16edc076710 /drivers/i2c
parent778f067c185ce56d06aedb5fba5a0e98bb464f7b (diff)
downloadlinux-986994a27587efd8ce4c595cab89b570f7475359.tar.xz
nvme: Use CNS as 8-bit field and avoid endianness conversion
This patch defines CNS field as 8-bit field and avoids cpu_to/from_le conversions. Also initialize nvme_command cns value explicitly to NVME_ID_CNS_NS for readability (don't rely on the fact that NVME_ID_CNS_NS = 0). Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions