[PATCH] data: klog.json: Make PnP BIOS message into an info message

Colin King colin.king at canonical.com
Tue Jan 22 11:55:40 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

PnP BIOS messages are normally classified as errors.  The following
warning is just an info message from the kernel and currently triggers
fwts klog scanner to report an error:

"PnPBIOS: Disabled by ACPI PNP"

..so make this into an info message rather than an error.

This false positive was detected by fwts in bug report LP:#1102370

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 data/klog.json | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/data/klog.json b/data/klog.json
index 447c331..d526979 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -1356,6 +1356,14 @@
   },
   {
    "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_INFO",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "PnPBIOS.*Disabled by ACPI PNP",
+   "advice": "The PnPBIOS driver was disabled because PnP support is provided by the ACPI driver.",
+   "label": "KlogPnpBiosDisabled"
+  },
+  {
+   "compare_mode": "regex",
    "log_level": "LOG_LEVEL_HIGH",
    "tag": "FWTS_TAG_ACPI",
    "pattern": "PnPBIOS.*",
-- 
1.8.0




More information about the fwts-devel mailing list