]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-cli: Fix more endianness issues
authorBart Van Assche <bvanassche@acm.org>
Mon, 24 Jun 2019 15:47:27 +0000 (08:47 -0700)
committerBart Van Assche <bvanassche@acm.org>
Mon, 24 Jun 2019 18:32:04 +0000 (11:32 -0700)
commit035ce47fd18333c87e1deaa1cb68e4931160f13f
treef8c381575e1ab83de7a3969ab1f165994599e0bf
parentaff3bcc756323389b7d14e7257b9104f526832eb
nvme-cli: Fix more endianness issues

Declare little endian variables as __le*. Use the proper le*_to_cpu()
conversion functions for little endian integers. Do not use le*_to_cpu()
for variables of type uint8_t.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
fabrics.c
linux/nvme.h
nvme-print.c
nvme.c
nvme.h
plugins/intel/intel-nvme.c
plugins/virtium/virtium-nvme.c
plugins/wdc/wdc-nvme.c