From f1f39d682ff290550dd99ec9925461dff227b110 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 1 Jul 2021 15:23:11 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/55999 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Angel Pons Reviewed-by: Anastasia Klimchuk --- layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layout.c') 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; } } -- cgit v1.2.3