Fix build of OFED bits with debugging options enabled.

This commit is contained in:
John Baldwin 2012-03-19 19:53:53 +00:00
parent d9550d0229
commit 8317ddc843
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;