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 <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50386
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Angel Pons 2021-02-08 12:40:06 +01:00 committed by Patrick Georgi
parent 06d224f65e
commit 2e77443e47
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ static void codec_init(struct device *dev, u8 *base, int addr)
printk(BIOS_DEBUG, "azalia_audio: No verb!\n"); printk(BIOS_DEBUG, "azalia_audio: No verb!\n");
return; return;
} }
printk(BIOS_DEBUG, "azalia_audio: verb_size: %d\n", verb_size); printk(BIOS_DEBUG, "azalia_audio: verb_size: %u\n", verb_size);
/* 3 */ /* 3 */
for (i = 0; i < verb_size; i++) { for (i = 0; i < verb_size; i++) {