PERFORCE change 92135 for review

Warner Losh imp at FreeBSD.org
Tue Feb 21 10:53:17 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=92135

Change 92135 by imp at imp_Speedy on 2006/02/21 18:52:40

	Check for failure with the right variable.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/at91_pio.c#2 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/at91_pio.c#2 (text+ko) ====

@@ -163,7 +163,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