mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
ib_srpt: Port to Linux kernel v6.1
Support for the following IB changes in the Linux kernel v6.1:
- 91a3f14ec953 ("IB/cm: Remove the service_mask parameter from ib_cm_listen()")
This commit is contained in:
@@ -100,6 +100,9 @@ function evaluate(stmnt, pattern, arg, op, result) {
|
||||
"(LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0) \\&\\& " \
|
||||
"RHEL_RELEASE_CODE -0 < 7 * 256 + 5)", stmnt)
|
||||
|
||||
gsub("defined\\(IB_CM_LISTEN_TAKES_THIRD_ARG\\)",
|
||||
"(LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0))", stmnt)
|
||||
|
||||
gsub("IB_CLIENT_ADD_ONE_RETURNS_INT",
|
||||
"(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) || " \
|
||||
"RHEL_RELEASE_CODE -0 >= 8 * 256 + 4)", stmnt)
|
||||
@@ -441,6 +444,7 @@ function handle_if(evaluated)
|
||||
|| $0 ~ "IB_CLIENT_ADD_ONE_RETURNS_INT" \
|
||||
|| $0 ~ "IB_CLIENT_REMOVE_TAKES_TWO_ARGS" \
|
||||
|| $0 ~ "IB_CM_LISTEN_TAKES_FOURTH_ARG" \
|
||||
|| $0 ~ "IB_CM_LISTEN_TAKES_THIRD_ARG" \
|
||||
|| $0 ~ "IB_CREATE_CQ_HAS_INIT_ATTR" \
|
||||
|| $0 ~ "IB_PD_HAS_LOCAL_DMA_LKEY" \
|
||||
|| $0 ~ "IB_QUERY_GID_HAS_ATTR_ARG" \
|
||||
|
||||
Reference in New Issue
Block a user