svn commit: r338652 - head/sys/dev/cxgbe/iw_cxgbe
Navdeep Parhar
np at FreeBSD.org
Thu Sep 13 16:27:22 UTC 2018
Author: np
Date: Thu Sep 13 16:27:21 2018
New Revision: 338652
URL: https://svnweb.freebsd.org/changeset/base/338652
Log:
cxgbe/iw_cxgbe: Fix reported build breakage when the kernel
configuration has "device cxgbe' but no VIMAGE.
Reported by: mav@
Approved by: re@ (kib@)
Modified:
head/sys/dev/cxgbe/iw_cxgbe/cm.c
Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/cm.c Thu Sep 13 16:14:33 2018 (r338651)
+++ head/sys/dev/cxgbe/iw_cxgbe/cm.c Thu Sep 13 16:27:21 2018 (r338652)
@@ -2524,8 +2524,10 @@ int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_
struct c4iw_dev *dev = to_c4iw_dev(cm_id->device);
struct c4iw_ep *ep = NULL;
struct ifnet *nh_ifp; /* Logical egress interface */
+#ifdef VIMAGE
struct rdma_cm_id *rdma_id = (struct rdma_cm_id*)cm_id->context;
struct vnet *vnet = rdma_id->route.addr.dev_addr.net;
+#endif
CTR2(KTR_IW_CXGBE, "%s:ccB %p", __func__, cm_id);
More information about the svn-src-head
mailing list