]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-fc: fix byte swapping in nvmet_fc_ls_create_association
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jul 2017 09:14:46 +0000 (11:14 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jul 2017 14:41:56 +0000 (08:41 -0600)
commit882b3f3b44c990de8caa9aae3150095ceccc5af8
treee29a73e92e460fffd586c124bb9575e2e95b6ec3
parenta295b2abdc58961fadeb190f54058fed5eb900b3
nvmet-fc: fix byte swapping in nvmet_fc_ls_create_association

We always need to do non-equal comparisms on the native endian versions
to get the correct result.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/fc.c