From 4687ab54e3580a6e9b5e52db985afa0cdce976c1 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 5 May 2006 19:14:57 +0000 Subject: [PATCH] Setting the rid of the resource is a good idea, but we still need to return the resource after. --- sys/arm/xscale/i80321/iq80321.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/arm/xscale/i80321/iq80321.c b/sys/arm/xscale/i80321/iq80321.c index 9537aa4e757..03311196083 100644 --- a/sys/arm/xscale/i80321/iq80321.c +++ b/sys/arm/xscale/i80321/iq80321.c @@ -307,6 +307,7 @@ iq80321_alloc_resource(device_t dev, device_t child, int type, int *rid, start, end, count, flags, child); if (rv != NULL) rman_set_rid(rv, *rid); + return (rv); } return (NULL); }