PERFORCE change 175242 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Mar 1 09:38:53 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=175242
Change 175242 by hselasky at hselasky_laptop001 on 2010/03/01 09:38:51
Fix for panic when inserting USB enabled PCCARD.
- reviewed by John Baldwin 2009-11-19
Affected files ...
.. //depot/projects/usb/src/sys/dev/pccard/pccard.c#7 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/pccard/pccard.c#7 (text+ko) ====
@@ -1258,7 +1258,10 @@
pccard_intr(void *arg)
{
struct pccard_function *pf = (struct pccard_function*) arg;
-
+
+ if (pf->intr_handler == NULL)
+ return; /* can happen during PCCARD insertion */
+
pf->intr_handler(pf->intr_handler_arg);
}
More information about the p4-projects
mailing list