[Mesa-dev] [PATCH 2/3] loader: do not print the pci id during normal operation
Emil Velikov
emil.l.velikov at gmail.com
Tue Jan 28 02:35:16 PST 2014
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 <emil.l.velikov at gmail.com>
---
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 6b60ce7..5a36423 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -348,7 +348,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;
--
1.8.5.2
More information about the mesa-dev
mailing list