https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191953

Andriy Gapon <a...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #5 from Andriy Gapon <a...@freebsd.org> ---
It seems that we could benefit from having a macro like KASSERT_IMPLY which
would assert A => B, that is, if A is true, then B must also be true (and B can
be anything if A is false).  In FreeBSD kernel this gets written as KASSERT(!A
|| B, ...) and sometimes there is a confusion when mapping back the code to the
logical statement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to