Re: [PATCH rdma-core 01/17] Update rdma/ib_user_verbs.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/12/2018 12:13 AM, Jason Gunthorpe wrote:
From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

To let us use definitions from the latest kernel headers in followup
patches.

 From v4.15-rc7

Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
---
  buildlib/RDMA_LinuxHeaders.cmake            |    2 +-
  buildlib/fixup-include/rdma-ib_user_verbs.h | 1176 +++++++++++++++++++++++++++
  2 files changed, 1177 insertions(+), 1 deletion(-)
  create mode 100644 buildlib/fixup-include/rdma-ib_user_verbs.h

diff --git a/buildlib/RDMA_LinuxHeaders.cmake b/buildlib/RDMA_LinuxHeaders.cmake
index ea60b9b55844ea..aa2a89a53d0c2d 100644
--- a/buildlib/RDMA_LinuxHeaders.cmake
+++ b/buildlib/RDMA_LinuxHeaders.cmake
@@ -86,7 +86,7 @@ function(rdma_report_missing_kheaders)
  endfunction()
# This list is topologically sorted
-rdma_check_kheader("rdma/ib_user_verbs.h" "${DEFAULT_TEST}" NO_SHIM OPTIONAL)
+rdma_check_kheader("rdma/ib_user_verbs.h" "int main(int argc,const char *argv[]) { return IB_USER_VERBS_EX_CMD_MODIFY_CQ; }")

Any future change in this kernel header will require a change in this check as well and also a commit into fixup-include/rdma-ib_user_verbs.h with the new kernel code, correct ?

How will people be aware of that and won't miss it ? can we have some script that will warn/suggest the expected change upon a kernel change ?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux