Blame SOURCES/centos-linux-3.10-nvme-bug15406.patch
|
|
e293be |
diff -Naurp a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
|
|
|
e293be |
--- a/drivers/nvme/host/pci.c 2018-09-21 05:18:28.000000000 -0300
|
|
|
e293be |
+++ b/drivers/nvme/host/pci.c 2018-10-24 09:57:23.805005344 -0300
|
|
|
e293be |
@@ -1548,7 +1548,6 @@ retry:
|
|
|
e293be |
DEFINE_DMA_ATTRS(attrs);
|
|
|
e293be |
|
|
|
e293be |
dma_set_attr(DMA_ATTR_NO_KERNEL_MAPPING, &attrs);
|
|
|
e293be |
- dma_set_attr(DMA_ATTR_NO_WARN, &attrs);
|
|
|
e293be |
len = min_t(u64, chunk_size, preferred - size);
|
|
|
e293be |
bufs[i] = dma_alloc_attrs(dev->dev, len, &dma_addr, GFP_KERNEL,
|
|
|
e293be |
&attrs);
|