qla2x00t: Fix the build for UEK kernel 5.4.17-2136.300.7.el8uek

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9588 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-10-28 05:43:57 +00:00
parent 034badd9c8
commit 2a4412e6c5

View File

@@ -4773,7 +4773,8 @@ qla2xxx_pci_resume(struct pci_dev *pdev)
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 7, 0) && \
(!defined(RHEL_RELEASE_CODE) || \
RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(8, 3))
RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(8, 3)) && \
!defined(UEK_KABI_RENAME)
pci_cleanup_aer_uncorrect_error_status(pdev);
#endif