]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: fix cntlid type
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Apr 2016 18:57:58 +0000 (14:57 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:41:17 +0000 (13:41 -0700)
commitd27086b0320e8a40ec7da87fcbc4b2b54ff7b704
tree9c5994a55008d9c6f80b27d97bc1a090c30af2be
parent133e170ea043ae6694a86d61b0a97164b01791d3
nvme: fix cntlid type

Controller IDs in NVMe are unsigned 16-bit types.  In the Fabrics driver we
actually pass ctrl->id by reference, so we need it to have the correct type.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 76e3914ae51714b0535c38d9472d89124e0b6b96)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/nvme.h