From 4768df1bf5c08828fb0e08830b95186959998dbd Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 9 Jul 2013 16:30:04 +0200 Subject: [PATCH] debug patch: dump the conflicting region v2: Actually put the debug output at the right spot. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66726 --- kernel/resource.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/resource.c b/kernel/resource.c index d738698..428c0bd 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -972,9 +972,13 @@ struct resource * __request_region(struct resource *parent, schedule(); remove_wait_queue(&muxed_resource_wait, &wait); write_lock(&resource_lock); + continue; } /* Uhhuh, that didn't work out.. */ + printk("conflict with resource 0x%08zu - 0x%08zu: %s, flags=0x%08u\n", + conflict->start, conflict->end, conflict->name, conflict->flags); + free_resource(res); res = NULL; break; -- 1.8.3.2