mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
sym(4): Add __diagused to nseg of getbaddrcb()
The parameter is only used when compiling with INVARIANTS.
This commit is contained in:
parent
4318843250
commit
ae6d496358
1 changed files with 2 additions and 1 deletions
|
|
@ -569,7 +569,8 @@ static void sym_mfree(void *ptr, int size, char *name)
|
|||
* BUS handle. A reverse table (hashed) is maintained for virtual
|
||||
* to BUS address translation.
|
||||
*/
|
||||
static void getbaddrcb(void *arg, bus_dma_segment_t *segs, int nseg, int error)
|
||||
static void getbaddrcb(void *arg, bus_dma_segment_t *segs, int nseg __diagused,
|
||||
int error)
|
||||
{
|
||||
bus_addr_t *baddr;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue