]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/infiniband/hw/nes/nes_verbs.c
RDMA: Constify the argument of the work request conversion functions
[mirror_ubuntu-hirsute-kernel.git] / drivers / infiniband / hw / nes / nes_verbs.c
index 82b8f9630ee8dc37b9583837060652475e3de38f..8b1f114062e5dfc3a18fd5a33d10bec86fbdb5a7 100644 (file)
@@ -3040,7 +3040,8 @@ static int nes_process_mad(struct ib_device *ibdev, int mad_flags,
 }
 
 static inline void
-fill_wqe_sg_send(struct nes_hw_qp_wqe *wqe, struct ib_send_wr *ib_wr, u32 uselkey)
+fill_wqe_sg_send(struct nes_hw_qp_wqe *wqe, const struct ib_send_wr *ib_wr,
+                u32 uselkey)
 {
        int sge_index;
        int total_payload_length = 0;