mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
isert-scst: Fix the CentOS 7 build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9476 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1597,7 +1597,8 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) && \
|
||||
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 7)
|
||||
static const char *const cma_events[] = {
|
||||
[RDMA_CM_EVENT_ADDR_RESOLVED] = "address resolved",
|
||||
[RDMA_CM_EVENT_ADDR_ERROR] = "address error",
|
||||
|
||||
Reference in New Issue
Block a user