diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-06-23 10:00:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-06-24 08:07:45 +0200 |
commit | c9e2e08edcdce4205821226817686e62dc349eab (patch) | |
tree | f92d38dbc7fe5545d23dda2243b0d188c9bd16d6 /arch/sandbox | |
parent | b3a667cd841802074f5d97453c4ba6364c706c27 (diff) | |
download | barebox-c9e2e08edcdce4205821226817686e62dc349eab.tar.gz barebox-c9e2e08edcdce4205821226817686e62dc349eab.tar.xz |
common: resource: print conflicts as warning
Crazy things happen if there are resource conflicts and a device probe
runs dev_request_mem_region. The dev_request_mem_region returns a
start pointer which is zero. The probe function doesn't check on this
and probing the device on zero base address.
To debug this in debug log level there are many other outputs. This patch
replace the debug print to a warning printout. A conflict should
normally never happen. If there is a conflict it's much easier to see it
with this patch.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
0 files changed, 0 insertions, 0 deletions