Fixing a clang warning about using uninitialized variable.
PR: 176712 Suggested by: jhb Approved by: sbruno (mentor)
This commit is contained in:
parent
f8aa444783
commit
c2553fb9b8
@ -9242,7 +9242,7 @@ bwn_dma_newbuf(struct bwn_dma_ring *dr, struct bwn_dmadesc_generic *desc,
|
||||
/*
|
||||
* Setup RX buf descriptor
|
||||
*/
|
||||
dr->setdesc(dr, desc, paddr, meta->mt_m->m_len -
|
||||
dr->setdesc(dr, desc, meta->mt_paddr, meta->mt_m->m_len -
|
||||
sizeof(*hdr), 0, 0, 0);
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user