* [PATCH] IB/vmw_pvrdma: Spare annotate imm_data
@ 2017-04-06 22:33 Jason Gunthorpe
[not found] ` <20170406223314.GA3893-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jason Gunthorpe @ 2017-04-06 22:33 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Adit Ranadive, VMware PV-Drivers
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-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
---
include/uapi/rdma/vmw_pvrdma-abi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
This fixes sparse errors in user space and kernel space
diff --git a/include/uapi/rdma/vmw_pvrdma-abi.h b/include/uapi/rdma/vmw_pvrdma-abi.h
index 5016abc9ee9712..c8c1d2d6df4d52 100644
--- a/include/uapi/rdma/vmw_pvrdma-abi.h
+++ b/include/uapi/rdma/vmw_pvrdma-abi.h
@@ -222,7 +222,7 @@ struct pvrdma_sq_wqe_hdr {
__u32 opcode; /* operation type */
__u32 send_flags; /* wr flags */
union {
- __u32 imm_data;
+ __be32 imm_data;
__u32 invalidate_rkey;
} ex;
__u32 reserved;
@@ -273,7 +273,7 @@ struct pvrdma_cqe {
__u32 opcode;
__u32 status;
__u32 byte_len;
- __u32 imm_data;
+ __be32 imm_data;
__u32 src_qp;
__u32 wc_flags;
__u32 vendor_err;
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <20170406223314.GA3893-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>]
* Re: [PATCH] IB/vmw_pvrdma: Spare annotate imm_data [not found] ` <20170406223314.GA3893-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> @ 2017-04-07 1:17 ` Adit Ranadive [not found] ` <c9d760af-2437-b377-3663-9df0973e542e-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Adit Ranadive @ 2017-04-07 1:17 UTC (permalink / raw) To: Jason Gunthorpe, linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: VMware PV-Drivers On Thu, Apr 06, 2017 at 4:33:14PM -0600, Jason Gunthorpe wrote: > 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-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> > --- > include/uapi/rdma/vmw_pvrdma-abi.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > This fixes sparse errors in user space and kernel space > Thanks! Tested-by: Adit Ranadive <aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> Acked-by: Adit Ranadive <aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <c9d760af-2437-b377-3663-9df0973e542e-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] IB/vmw_pvrdma: Spare annotate imm_data [not found] ` <c9d760af-2437-b377-3663-9df0973e542e-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> @ 2017-04-25 19:43 ` Doug Ledford 0 siblings, 0 replies; 3+ messages in thread From: Doug Ledford @ 2017-04-25 19:43 UTC (permalink / raw) To: Adit Ranadive, Jason Gunthorpe, linux-rdma-u79uwXL29TY76Z2rM5mHXA Cc: VMware PV-Drivers On Thu, 2017-04-06 at 18:17 -0700, Adit Ranadive wrote: > On Thu, Apr 06, 2017 at 4:33:14PM -0600, Jason Gunthorpe wrote: > > > > 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-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> > > --- > > include/uapi/rdma/vmw_pvrdma-abi.h | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > This fixes sparse errors in user space and kernel space > > > > Thanks! > > Tested-by: Adit Ranadive <aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> > Acked-by: Adit Ranadive <aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> Thanks, applied. -- Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-25 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-06 22:33 [PATCH] IB/vmw_pvrdma: Spare annotate imm_data Jason Gunthorpe
[not found] ` <20170406223314.GA3893-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-04-07 1:17 ` Adit Ranadive
[not found] ` <c9d760af-2437-b377-3663-9df0973e542e-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2017-04-25 19:43 ` Doug Ledford
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.