Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys/dev/usb



Module Name:    src
Committed By:   snj
Date:           Tue Mar  9 03:54:44 UTC 2010

Modified Files:
        src/sys/dev/usb [netbsd-5]: ugen.c

Log Message:
Pull up following revision(s) (requested by pooka in ticket #1332):
        sys/dev/usb/ugen.c: revision 1.109
Replace USB_GET_SC() instances with USB_GET_SC_OPEN().  The latter
is exactly like the former, except it returns with ENXIO if sc is
NULL instead of continuing on to use it.  Most of the time this is
handled by the fd layer and you get EBADF, but sometimes it's
possible to race into the device method for whatever reason and
you get a kernel panic.  I have no idea what the "whatever reason"
might be.


To generate a diff of this commit:
cvs rdiff -u -r1.99.8.2 -r1.99.8.3 src/sys/dev/usb/ugen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index