Date: Thu, 13 Sep 2018 16:27:21 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338652 - head/sys/dev/cxgbe/iw_cxgbe Message-ID: <201809131627.w8DGRLId009500@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809131627.w8DGRLId009500>