mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
qla2x00t: Build fix for RHEL / CentOS 8.3
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 7, 0) && \
|
||||
(!defined(RHEL_RELEASE_CODE) || \
|
||||
RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(8, 3))
|
||||
pci_cleanup_aer_uncorrect_error_status(pdev);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user