Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assert(x) should emit a warning if x is false. WARN_ON(x) emits a warning if x is true. Thus, assert(x) should be defined as WARN_ON(!x) rather than WARN_ON(x). Signed-off-by: Jonathan Neuschäfer <[email protected]> Signed-off-by: Nick Terrell <[email protected]>
- Loading branch information