summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2021-07-01 15:23:11 +0200
committerEdward O'Callaghan <quasisec@chromium.org>2021-07-06 02:26:43 +0000
commitf1f39d682ff290550dd99ec9925461dff227b110 (patch)
treed7da58fa899cec7cb6776070666856bad61b3c4f /layout.c
parentc9039fc27916c03e21ba91365d01e6bc49503053 (diff)
downloadflashrom-f1f39d682ff290550dd99ec9925461dff227b110.tar.gz
flashrom-f1f39d682ff290550dd99ec9925461dff227b110.tar.bz2
flashrom-f1f39d682ff290550dd99ec9925461dff227b110.zip
layout: Turn overlap debug message into warning
Let's assume this function is only called when overlapping, included regions are fatal. Change-Id: Ie969e0538d302ccd58d3fec3921265ed3621eaa5 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55999 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout.c b/layout.c
index 36aa247de..534debaa2 100644
--- a/layout.c
+++ b/layout.c
@@ -266,8 +266,8 @@ int included_regions_overlap(const struct flashrom_layout *const l)
if (lhs->end < rhs->start)
continue;
- msg_gdbg("Regions %s [0x%08x-0x%08x] and %s [0x%08x-0x%08x] overlap\n",
- lhs->name, lhs->start, lhs->end, rhs->name, rhs->start, rhs->end);
+ msg_gwarn("Regions %s [0x%08x-0x%08x] and %s [0x%08x-0x%08x] overlap\n",
+ lhs->name, lhs->start, lhs->end, rhs->name, rhs->start, rhs->end);
overlap_detected = 1;
}
}