Patrick Rudolph has uploaded this change for review. ( 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 --- M src/device/device_util.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/85807/1
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))