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>
This commit is contained in:
Patrick Rudolph 2024-12-29 09:05:58 +01:00
commit ce1b8180fd

View file

@ -547,7 +547,7 @@ const char *resource_type(const struct resource *resource)
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))