Date: Tue, 21 Feb 2006 18:53:15 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92135 for review Message-ID: <200602211853.k1LIrFn5058824@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92135 Change 92135 by imp@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602211853.k1LIrFn5058824>