Patrick Rudolph has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85807?usp=email )
Change subject: device: Fix debug print ......................................................................
device: Fix debug print
Increase the char buffer size to fit all characters that are printed into it by the snprintf() call below.
Change-Id: Ib153e1d02a08b2551dad5b51c4c88bf0bb606af3 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/85807 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nicholas Chin nic.c3.14@gmail.com --- M src/device/device_util.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Nicholas Chin: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/device/device_util.c b/src/device/device_util.c index 8d111b6..fc585a0 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -547,7 +547,7 @@ void report_resource_stored(struct device *dev, const struct resource *resource, const char *comment) { - char buf[10]; + char buf[16]; unsigned long long base, end;
if (!(resource->flags & IORESOURCE_STORED))