linux/drivers/nvme/host
Jan H. Schönherr 5228b3280b nvme: fix uninitialized prp2 value on small transfers
The value of iod->first_dma ends up as prp2 in NVMe commands. In case
there is not enough data to cross a page boundary, iod->first_dma is
never initialized and contains random data.

Comply with the NVMe specification and fill in 0 in that case.

Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-08-28 23:00:44 +03:00
..
core.c nvme: rename AMS symbolic constants to fit specification 2017-08-28 23:00:39 +03:00
fabrics.c nvme-fabrics: log a warning if hostid is invalid 2017-08-28 23:00:37 +03:00
fabrics.h nvme: read the subsystem NQN from Identify Controller 2017-06-28 08:14:13 -06:00
fc.c nvme-fc: Reattach to localports on re-registration 2017-08-28 23:00:40 +03:00
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
lightnvm.c block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
nvme.h nvme: Add admin_tagset pointer to nvme_ctrl 2017-08-28 21:38:24 +02:00
pci.c nvme: fix uninitialized prp2 value on small transfers 2017-08-28 23:00:44 +03:00
rdma.c nvme-rdma: Use unlikely macro in the fast path 2017-08-28 23:00:43 +03:00