summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/nd_virtio.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2022-01-24 19:55:02 +0100
committerBorislav Petkov <bp@suse.de>2022-01-28 21:38:46 +0100
commit279eb8575fdaa92c314a54c0d583c65e26229107 (patch)
tree53ac98be15d237793b80daaa956d91298113143b /drivers/nvdimm/nd_virtio.c
parentLinux 5.17-rc1 (diff)
downloadlinux-279eb8575fdaa92c314a54c0d583c65e26229107.tar.xz
linux-279eb8575fdaa92c314a54c0d583c65e26229107.zip
EDAC/altera: Fix deferred probing
The driver overrides the error codes returned by platform_get_irq() to -ENODEV for some strange reason, so if it returns -EPROBE_DEFER, the driver will fail the probe permanently instead of the deferred probing. Switch to propagating the proper error codes to platform driver code upwards. [ bp: Massage commit message. ] Fixes: 71bcada88b0f ("edac: altera: Add Altera SDRAM EDAC support") Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Dinh Nguyen <dinguyen@kernel.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220124185503.6720-2-s.shtylyov@omp.ru
Diffstat (limited to 'drivers/nvdimm/nd_virtio.c')
0 files changed, 0 insertions, 0 deletions