Fix build of OFED bits with debugging options enabled.
This commit is contained in:
parent
d9550d0229
commit
8317ddc843
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user