[PATCH] klog.json: fix a couple of klog patterns

Colin King colin.king at canonical.com
Fri Feb 10 11:41:04 UTC 2017


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

One of the patterns should have been a regex, and another pattern is too
restrictive, so make it a bit more slack to pick up changes with the
pattern in newer kernels.

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

diff --git a/data/klog.json b/data/klog.json
index 55ff2f3..d4980c3 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -317,7 +317,7 @@
    "label": "KlogBios32UnsupportedRevision",
   },
   {
-   "compare_mode": "string",
+   "compare_mode": "regex",
    "log_level": "LOG_LEVEL_MEDIUM",
    "pattern": "PCI: BIOS32 entry .* in high memory, cannot use",
    "advice": "The BIOS32 service directory structure in located in high memory at or above address 0x100000 and cannot use this.",
@@ -746,7 +746,7 @@
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_LOW",
-   "pattern": "Misaligned resource pointer (get):",
+   "pattern": "Misaligned resource pointer",
    "advice": "The ACPI driver detected a resource pointer that is not naturally aligned to a 32 bit boundary. This has been automatically fixed and should not cause any issues.",
    "label": "KlogAcpiResourceDescriptorError"
   },
-- 
2.10.2




More information about the fwts-devel mailing list