]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nvme-fc: don't use bit masks for set/test_bit() numbers
authorJens Axboe <axboe@kernel.dk>
Fri, 24 Nov 2017 17:12:33 +0000 (10:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Nov 2017 17:12:33 +0000 (10:12 -0700)
commit26c0a26d78bc7c2943d55121a32cb85a4594f8ea
tree9dd79dc9b566bef99dba547d8913854853c354a0
parent3dfbdc44d69b2cd7e382fd084a5c860d2cea24f6
nvme-fc: don't use bit masks for set/test_bit() numbers

So far harmless, but it's confusing and a bug waiting to happen if the
shifts grow larger than 4.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fc.c