From 7965908976cdd1476db0ee7258d182292f975800 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 23 Jan 2014 17:59:39 +0000 Subject: [PATCH] loader: do not print the pci id during normal operation Spamming the pci id is not beneficial. Make sure it's printed only when needed. v2: Change severity to _LOADER_DEBUG, rather than removing the message. Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- src/loader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loader/loader.c b/src/loader/loader.c index e61c9d81a16..626046a232b 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -350,7 +350,7 @@ loader_get_driver_for_fd(int fd, unsigned driver_types) } out: - log_(driver ? _LOADER_INFO : _LOADER_WARNING, + log_(driver ? _LOADER_DEBUG : _LOADER_WARNING, "pci id for fd %d: %04x:%04x, driver %s\n", fd, vendor_id, chip_id, driver); return driver; -- 2.30.2