svn commit: r270821 - head/sys/ofed/drivers/infiniband/ulp/sdp

Bjoern A. Zeeb bz at
Fri Aug 29 14:47:06 UTC 2014

Author: bz
Date: Fri Aug 29 14:47:05 2014
New Revision: 270821

  Forward declare struct kiocb, which is only used for an unsued function
  argument but not actually defined anywhere.
  This fixes the compile complaining about
  "declaration of 'struct kiocb' will not be visible outside of this function".
  MFC after:	2 weeks
  X-MFC with:	whatever changed caused the breakage ;-)


Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
--- head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h	Fri Aug 29 14:38:57 2014	(r270820)
+++ head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h	Fri Aug 29 14:47:05 2014	(r270821)
@@ -703,6 +703,7 @@ void sdp_do_posts(struct sdp_sock *ssk);
 void sdp_rx_comp_full(struct sdp_sock *ssk);
 /* sdp_zcopy.c */
+struct kiocb;
 int sdp_sendmsg_zcopy(struct kiocb *iocb, struct socket *sk, struct iovec *iov);
 int sdp_handle_srcavail(struct sdp_sock *ssk, struct sdp_srcah *srcah);
 void sdp_handle_sendsm(struct sdp_sock *ssk, u32 mseq_ack);

More information about the svn-src-all mailing list