]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nvme-fc: Fix sqsize wrong assignment based on ctrl MQES capability
authorSagi Grimberg <sagi@grimberg.me>
Thu, 6 Apr 2017 06:15:52 +0000 (09:15 +0300)
committerJens Axboe <axboe@fb.com>
Sun, 9 Apr 2017 19:58:11 +0000 (13:58 -0600)
commitc6c64a942c87faa6fca68f5dd208094b8cf61236
tree3f2b8c21af66f49af60222fd5927c7069418aeb8
parent1af76ddaa80e3bca8001b535e44aaaebd3e1907e
nvme-fc: Fix sqsize wrong assignment based on ctrl MQES capability

both our sqsize and the controller MQES cap are a 0 based value,
so making it 1 based is wrong.

Reported-by: Trapp, Darren <Darren.Trapp@cavium.com>
Reported-by: Daniel Verkamp <daniel.verkamp@intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/fc.c