Message ID | 201003091356.03597.bjorn.helgaas@hp.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
--- a/kernel/resource.c +++ b/kernel/resource.c @@ -493,6 +493,9 @@ int insert_resource(struct resource *parent, struct resource *new) write_lock(&resource_lock); conflict = __insert_resource(parent, new); write_unlock(&resource_lock); + if (conflict) + printk("can't insert %pR in %pR; conflict with %pR\n", + new, parent, conflict); return conflict ? -EBUSY : 0; }