From 22f8ee0b8bee0816580daed024a173634d9f8b52 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 v3 v2: Actually put the debug output at the right spot. v3: Fix printf specifiers. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66726 --- kernel/resource.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/resource.c b/kernel/resource.c index d738698..d1e50df 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -972,9 +972,15 @@ 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%08llx - 0x%08llx: %s, flags=0x%08lx\n", + (unsigned long long)conflict->start, + (unsigned long long)conflict->end, + conflict->name, conflict->flags); + free_resource(res); res = NULL; break; -- 1.8.3.2