diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-03-08 00:59:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-03-08 00:59:00 +0000 |
commit | 94c06da69db2a400c5c635b368628a4114da007c (patch) | |
tree | 91ac41cdca741ab02910305e8acb87ae1a90be36 /sys-kernel/linux-image-redcore/files/5.5-nvme-pci-more-info.patch | |
parent | 6a048063b8722a134ff2bbc05c359edad13ed023 (diff) |
sys-kernel/linux-{image,sources}-redcore : version bump (v5.5.8)
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.5-nvme-pci-more-info.patch')
-rw-r--r-- | sys-kernel/linux-image-redcore/files/5.5-nvme-pci-more-info.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/5.5-nvme-pci-more-info.patch b/sys-kernel/linux-image-redcore/files/5.5-nvme-pci-more-info.patch new file mode 100644 index 00000000..d4c88dc0 --- /dev/null +++ b/sys-kernel/linux-image-redcore/files/5.5-nvme-pci-more-info.patch @@ -0,0 +1,38 @@ +diff -Naur linux-5.3.1/drivers/nvme/host/pci.c linux-5.3.1-p/drivers/nvme/host/pci.c +--- linux-5.3.1/drivers/nvme/host/pci.c 2019-09-21 07:19:47.000000000 +0200 ++++ linux-5.3.1-p/drivers/nvme/host/pci.c 2019-09-27 14:46:38.567818352 +0200 +@@ -2524,8 +2524,11 @@ + } + + result = nvme_init_identify(&dev->ctrl); +- if (result) ++ if (result) { ++ dev_warn(dev->ctrl.device, ++ "nvme_init_identify() failed\n"); + goto out; ++ } + + if (dev->ctrl.oacs & NVME_CTRL_OACS_SEC_SUPP) { + if (!dev->ctrl.opal_dev) +@@ -2547,13 +2550,19 @@ + + if (dev->ctrl.hmpre) { + result = nvme_setup_host_mem(dev); +- if (result < 0) ++ if (result < 0) { ++ dev_warn(dev->ctrl.device, ++ "hmpre - nvme_setup_host_mem() failed\n"); + goto out; ++ } + } + + result = nvme_setup_io_queues(dev); +- if (result) ++ if (result) { ++ dev_warn(dev->ctrl.device, ++ "nvme_setup_io_queues() failed\n"); + goto out; ++ } + + /* + * Keep the controller around but remove all namespaces if we don't have |