device/device_util.c: Correct format specifier
path.mmio.addr is a uintptr_t, which is an unsigned long. Change-Id: I5e43e0ab65cf59819abe1dde43143ff98e4553b0 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Found-by: Coverity CID 1402110 Reviewed-on: https://review.coreboot.org/c/coreboot/+/34370 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
02592ec291
commit
d552acac1d
|
@ -229,7 +229,7 @@ const char *dev_path(const struct device *dev)
|
||||||
dev->path.usb.port_type, dev->path.usb.port_id);
|
dev->path.usb.port_type, dev->path.usb.port_id);
|
||||||
break;
|
break;
|
||||||
case DEVICE_PATH_MMIO:
|
case DEVICE_PATH_MMIO:
|
||||||
snprintf(buffer, sizeof(buffer), "MMIO: %08x",
|
snprintf(buffer, sizeof(buffer), "MMIO: %08lx",
|
||||||
dev->path.mmio.addr);
|
dev->path.mmio.addr);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue