Page MenuHomeFreeBSD

D43691.diff
No OneTemporary

D43691.diff

diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -4322,12 +4322,12 @@
int rid, struct resource *r)
{
struct resource_map map;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
struct rman *rm;
#endif
int error;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
rm = BUS_GET_RMAN(dev, type, rman_get_flags(r));
KASSERT(rman_is_region_manager(r, rm),
("%s: rman %p doesn't match for resource %p", __func__, rm, r));
@@ -4361,12 +4361,12 @@
int rid, struct resource *r)
{
struct resource_map map;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
struct rman *rm;
#endif
int error;
-#ifdef INVARIANTS_XXX
+#ifdef INVARIANTS
rm = BUS_GET_RMAN(dev, type, rman_get_flags(r));
KASSERT(rman_is_region_manager(r, rm),
("%s: rman %p doesn't match for resource %p", __func__, rm, r));

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 10:30 PM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14705801
Default Alt Text
D43691.diff (862 B)

Event Timeline