Hello Jason and Doug, The RDMA driver functions that submit a work request accept a work request pointer as input but do not modify that work request. This patch series makes this explicit by declaring these pointers const. That change allows the compiler to verify that the input work request is not modified. Please consider these patches for kernel v4.19. Thanks, Bart. Bart Van Assche (13): RDMA/verbs: Convert struct ib_send_wr conversion functions into macros IB/core: Declare work request pointers that are not modified const RDMA/bnxt_re: Declare work request pointers that are not modified const RDMA/cxgb3: Declare work request pointers that are not modified const RDMA/cxgb4: Declare work request pointers that are not modified const RDMA/hns: Declare work request pointers that are not modified const IB/mlx4: Declare work request pointers that are not modified const IB/mlx5: Declare work request pointers that are not modified const IB/nes: Declare work request pointers that are not modified const IB/ocrdma: Declare work request pointers that are not modified const RDMA/qedr: Declare work request pointers that are not modified const IB/rdmavt: Declare work request pointers that are not modified const RDMA/rxe: Declare work request pointers that are not modified const drivers/infiniband/hw/bnxt_re/ib_verbs.c | 16 ++++++------ drivers/infiniband/hw/cxgb3/iwch_qp.c | 20 +++++++-------- drivers/infiniband/hw/cxgb4/qp.c | 18 ++++++++------ drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 3 ++- drivers/infiniband/hw/mlx4/qp.c | 25 ++++++++++--------- drivers/infiniband/hw/mlx5/mlx5_ib.h | 6 ++--- drivers/infiniband/hw/mlx5/qp.c | 21 ++++++++-------- drivers/infiniband/hw/mthca/mthca_qp.c | 8 +++--- drivers/infiniband/hw/nes/nes_verbs.c | 3 ++- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 12 ++++----- drivers/infiniband/hw/qedr/qedr_roce_cm.c | 4 +-- drivers/infiniband/hw/qedr/verbs.c | 2 +- drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c | 3 ++- drivers/infiniband/sw/rdmavt/qp.c | 4 +-- drivers/infiniband/sw/rxe/rxe_verbs.c | 8 +++--- include/rdma/ib_verbs.h | 26 +++++--------------- 16 files changed, 85 insertions(+), 94 deletions(-) -- 2.18.0 -- 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