diff options
author | jhb <jhb@FreeBSD.org> | 2012-03-19 19:53:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-03-19 19:53:53 +0000 |
commit | 2b43dcda3af764ee424360472bd117a5f2bc20d9 (patch) | |
tree | ca30e820a08e30e107e0e52ac9731b6faa18357b /sys/ofed | |
parent | c7d36dddc754917de5eec13cf322775709d2f008 (diff) | |
download | FreeBSD-src-2b43dcda3af764ee424360472bd117a5f2bc20d9.zip FreeBSD-src-2b43dcda3af764ee424360472bd117a5f2bc20d9.tar.gz |
Fix build of OFED bits with debugging options enabled.
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/drivers/infiniband/core/fmr_pool.c | 2 | ||||
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ofed/drivers/infiniband/core/fmr_pool.c b/sys/ofed/drivers/infiniband/core/fmr_pool.c index 4507043..c225833 100644 --- a/sys/ofed/drivers/infiniband/core/fmr_pool.c +++ b/sys/ofed/drivers/infiniband/core/fmr_pool.c @@ -150,7 +150,7 @@ static void ib_fmr_batch_release(struct ib_fmr_pool *pool) #ifdef DEBUG if (fmr->ref_count !=0) { - printk(KERN_WARNING PFX "Unmapping FMR 0x%08x with ref count %d\n", + printk(KERN_WARNING PFX "Unmapping FMR %p with ref count %d\n", fmr, fmr->ref_count); } #endif diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c index 28b44d9..2b15f31 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c @@ -855,7 +855,7 @@ sdp_append(struct sdp_sock *ssk, struct sockbuf *sb, struct mbuf *mb, int cnt) int ncnt; SOCKBUF_LOCK_ASSERT(sb); - SBLASTRECORDCHK(sb) + SBLASTRECORDCHK(sb); KASSERT(mb->m_flags & M_PKTHDR, ("sdp_append: %p Missing packet header.\n", mb)); n = sb->sb_lastrecord; |