HomeFreeBSD

sysctl(9): properly use xor in ENFORCE_FLAGS macro

Description

sysctl(9): properly use xor in ENFORCE_FLAGS macro

Assert on not specifying any of the (soon to be) required flags as well
as specifying both of them.

Pointed out by: cem, hselasky
Reviewed by: hselasky, kib
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D23678

Details

Provenance
kaktusAuthored on Feb 14 2020, 4:56 PM
Parents
rG0d9cef0a9411: Add support for Hygon NTB PCI device in ntb_hw_amd driver.
Branches
Unknown
Tags
Unknown

Event Timeline