Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 06:45:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223519] __BUS_ACCESSOR doesn't check return value of BUS_READ_IVAR
Message-ID:  <bug-223519-8-tH2jZnCiBi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223519-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223519-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223519

--- Comment #2 from Christian Mauderer <christian.mauderer@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 er=
ror
message in the log could help a lot finding them.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223519-8-tH2jZnCiBi>