Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

IB/vmw_pvrdma: Spare annotate imm_data

imm_data is copied directly from the ib_send_wr and ib_wc which have
it marked as __be32, copy that mark into the uapi structures as well.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Adit Ranadive <aditr@vmware.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

authored by

Jason Gunthorpe and committed by
Doug Ledford
cc47dd68 db570d7d

+2 -2
+2 -2
include/uapi/rdma/vmw_pvrdma-abi.h
··· 222 222 __u32 opcode; /* operation type */ 223 223 __u32 send_flags; /* wr flags */ 224 224 union { 225 - __u32 imm_data; 225 + __be32 imm_data; 226 226 __u32 invalidate_rkey; 227 227 } ex; 228 228 __u32 reserved; ··· 273 273 __u32 opcode; 274 274 __u32 status; 275 275 __u32 byte_len; 276 - __u32 imm_data; 276 + __be32 imm_data; 277 277 __u32 src_qp; 278 278 __u32 wc_flags; 279 279 __u32 vendor_err;