linux_dsm_epyc7002/drivers/nvme/host
Dan Carpenter 77016199f1 nvme: cleanup double shift issue
The problem here is that set_bit() and test_bit() take a bit number so
we should be passing 0 but instead we're passing (1 << 0) which leads to
a double shift.  It doesn't cause a runtime bug in the current code
because it's done consistently and we only set that one bit.

I decided to just re-use NVME_AER_NOTICE_NS_CHANGED instead of
introducing a new define for this.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-08 12:51:11 -06:00
..
core.c nvme: cleanup double shift issue 2018-06-08 12:51:11 -06:00
fabrics.c nvme: don't hold nvmf_transports_rwsem for more than transport lookups 2018-06-08 12:51:10 -06:00
fabrics.h nvme: don't hold nvmf_transports_rwsem for more than transport lookups 2018-06-08 12:51:10 -06:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter 2018-05-30 11:31:34 -06:00
Kconfig IB: Revert "remove redundant INFINIBAND kconfig dependencies" 2018-05-28 10:40:16 -06:00
lightnvm.c lightnvm: remove function name in strings 2018-03-29 17:29:09 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
nvme.h nvme: cleanup double shift issue 2018-06-08 12:51:11 -06:00
pci.c nvme-pci: make CMB SQ mod-param read-only 2018-06-08 12:51:11 -06:00
rdma.c nvme-rdma: correctly check for target keyed sgl support 2018-06-08 12:51:10 -06:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: change order of qid and cmdid in completion trace 2018-04-26 13:30:08 -06:00