Fix LINT build with MEMGUARD.
This commit is contained in:
parent
d4665eaa66
commit
9e47b34110
@ -2980,7 +2980,7 @@ uma_zalloc_debug(uma_zone_t zone, void **itemp, void *udata, int flags)
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_MEMGUARD
|
||||
if ((zone->uz_flags & UMA_ZONE_SMR == 0) && memguard_cmp_zone(zone)) {
|
||||
if ((zone->uz_flags & UMA_ZONE_SMR) == 0 && memguard_cmp_zone(zone)) {
|
||||
void *item;
|
||||
item = memguard_alloc(zone->uz_size, flags);
|
||||
if (item != NULL) {
|
||||
@ -3014,7 +3014,7 @@ uma_zfree_debug(uma_zone_t zone, void *item, void *udata)
|
||||
("uma_zfree_debug: called with spinlock or critical section held"));
|
||||
|
||||
#ifdef DEBUG_MEMGUARD
|
||||
if ((zone->uz_flags & UMA_ZONE_SMR == 0) && is_memguard_addr(item)) {
|
||||
if ((zone->uz_flags & UMA_ZONE_SMR) == 0 && is_memguard_addr(item)) {
|
||||
if (zone->uz_dtor != NULL)
|
||||
zone->uz_dtor(item, zone->uz_size, udata);
|
||||
if (zone->uz_fini != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user