From 7bc74ab25b81a9f1d0156a6137b40d6155a81b51 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 18 Nov 2015 20:23:02 -0700 Subject: device/device.c: remove warning for missing apic read resources We have had the "APIC: 00 missing read_resources" messages for many years. It's obviously not an error, and also doesn't cause boot failures. Therefore, remove the message. Change-Id: I7f99c5950a3457df04e7ef6edb456b70dba9680c Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/12471 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/device/device.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/device/device.c b/src/device/device.c index 55a5dfd9ac..e23c9def5b 100644 --- a/src/device/device.c +++ b/src/device/device.c @@ -222,8 +222,9 @@ static void read_resources(struct bus *bus) continue; if (!curdev->ops || !curdev->ops->read_resources) { - printk(BIOS_ERR, "%s missing read_resources\n", - dev_path(curdev)); + if (curdev->path.type != DEVICE_PATH_APIC) + printk(BIOS_ERR, "%s missing read_resources\n", + dev_path(curdev)); continue; } post_log_path(curdev); -- cgit v1.2.3