Expand __diagused to include the KTR kernel diagnostic option.
This commit is contained in:
parent
dec703c7e0
commit
55339af296
@ -554,7 +554,7 @@ void _gone_in_dev(device_t dev, int major, const char *msg);
|
||||
#define gone_in(major, msg) __gone_ok(major, msg) _gone_in(major, msg)
|
||||
#define gone_in_dev(dev, major, msg) __gone_ok(major, msg) _gone_in_dev(dev, major, msg)
|
||||
|
||||
#if defined(INVARIANTS) || defined(WITNESS)
|
||||
#if defined(INVARIANTS) || defined(WITNESS) || defined(KTR)
|
||||
#define __diagused
|
||||
#else
|
||||
#define __diagused __unused
|
||||
|
Loading…
Reference in New Issue
Block a user