From 540dc57576002d4c3a87866556f42b3662798160 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 21 Apr 2020 02:25:58 +0000 Subject: [PATCH] qla2x00t: Port to Linux kernel v5.7 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8864 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_os.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qla2x00t/qla_os.c b/qla2x00t/qla_os.c index 20bb988a1..44a051c23 100644 --- a/qla2x00t/qla_os.c +++ b/qla2x00t/qla_os.c @@ -4775,7 +4775,9 @@ qla2xxx_pci_resume(struct pci_dev *pdev) "The device failed to resume I/O from slot/link_reset.\n"); } +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 7, 0) pci_cleanup_aer_uncorrect_error_status(pdev); +#endif ha->flags.eeh_busy = 0; }