summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-02-08 12:40:06 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-10 07:20:50 +0000
commit2e77443e4766ab16be338110b97763f6bbaec679 (patch)
tree9d097db07d3d73ab7ce4735d8646d0a80152792a /src/device
parent06d224f65ee265f724f915dcbab0486773b7c6da (diff)
downloadcoreboot-2e77443e4766ab16be338110b97763f6bbaec679.tar.xz
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>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/azalia_device.c2
1 files changed, 1 insertions, 1 deletions
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++) {