PERFORCE change 107393 for review
Warner Losh
imp at FreeBSD.org
Fri Oct 6 21:37:40 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107393
Change 107393 by imp at imp_lighthouse on 2006/10/07 04:36:49
check right return value.
Affected files ...
.. //depot/projects/arm/src/sys/arm/at91/at91_mci.c#25 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/at91/at91_mci.c#25 (text+ko) ====
@@ -233,7 +233,7 @@
rid = 0;
sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
RF_ACTIVE);
- if (sc->mem_res == NULL)
+ if (sc->irq_res == NULL)
goto errout;
return (0);
errout:
More information about the p4-projects
mailing list