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:
parent
a1f82532f2
commit
ce1b8180fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue