[Bug 223519] __BUS_ACCESSOR doesn't check return value of BUS_READ_IVAR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 10 06:45:30 UTC 2017


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

--- Comment #2 from Christian Mauderer <christian.mauderer at embedded-brains.de> ---
OK, I agree that it's an intended behaviour. Maybe it would be a good idea
anyway to at least print a warning or use some
if-kernel-compiled-with-debug-options-assert so that a driver developer at
least gets some feedback that an ivar that is expected to be always valid is
missing. The resulting driver bugs can be really nasty to find. A simple error
message in the log could help a lot finding them.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list