From 2e77443e4766ab16be338110b97763f6bbaec679 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 8 Feb 2021 12:40:06 +0100 Subject: device/azalia_device.c: Correct print format The type of `verb_size` is unsigned, thus use `%u` to print its value. Change-Id: I2b353b940e881dc8b5f0b902509d97d89c997a70 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/50386 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/device/azalia_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c index e383821d55..8e5998cdeb 100644 --- a/src/device/azalia_device.c +++ b/src/device/azalia_device.c @@ -220,7 +220,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) printk(BIOS_DEBUG, "azalia_audio: No verb!\n"); return; } - printk(BIOS_DEBUG, "azalia_audio: verb_size: %d\n", verb_size); + printk(BIOS_DEBUG, "azalia_audio: verb_size: %u\n", verb_size); /* 3 */ for (i = 0; i < verb_size; i++) { -- cgit v1.2.3