BUS_ACCESSOR is busted at best
John Baldwin <[email protected]> Tue, 08 Oct 2002 11:48:27 -0400 (EDT)
| Newsgroups | gmane.os.freebsd.devel.new-bus |
|---|---|
| Message-ID | <[email protected]> |
Ok, so what happens if BUS_READ_IVAR or BUS_WRITE_IVAR fails? For the WRITE_IVAR case we just silently fail. How nice. For the READ_IVAR case we return garbage. I think we should change the bus accessors to return the error code from the BUS method and have read_ivar accept a pointer to the right type. -- John Baldwin <[email protected]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-new-bus" in the body of the message