Patchwork [4/9] data: klog.json: Add check for ACPI region field type error

login
register
mail settings
Submitter Colin King
Date May 14, 2013, 2 p.m.
Message ID <1368540031-28500-5-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/243709/
State Accepted
Headers show

Comments

Colin King - May 14, 2013, 2 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json | 8 ++++++++
 1 file changed, 8 insertions(+)
Keng-Yu Lin - May 20, 2013, 8:25 a.m.
On Tue, May 14, 2013 at 10:00 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 38e2dba..ea7f036 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -1010,6 +1010,14 @@
>      "label": "KlogAcpiUtCopyBadType"
>    },
>    {
> +    "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_HIGH",
> +    "tag": "FWTS_TAG_ACPI",
> +    "pattern": "Needed Region, found type 0x",
> +    "advice": "An ACPI object type did not match the expected type, expected an ACPI Region type.",
> +    "label": "KlogAcpiCheckObjectTypeFailed"
> +  },
> +  {
>      "compare_mode": "regex",
>      "log_level": "LOG_LEVEL_HIGH",
>      "tag": "FWTS_TAG_ACPI",
> --
> 1.8.1.2
>

Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - May 21, 2013, 6:08 a.m.
On 05/14/2013 10:00 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   data/klog.json | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 38e2dba..ea7f036 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -1010,6 +1010,14 @@
>       "label": "KlogAcpiUtCopyBadType"
>     },
>     {
> +    "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_HIGH",
> +    "tag": "FWTS_TAG_ACPI",
> +    "pattern": "Needed Region, found type 0x",
> +    "advice": "An ACPI object type did not match the expected type, expected an ACPI Region type.",
> +    "label": "KlogAcpiCheckObjectTypeFailed"
> +  },
> +  {
>       "compare_mode": "regex",
>       "log_level": "LOG_LEVEL_HIGH",
>       "tag": "FWTS_TAG_ACPI",
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/data/klog.json b/data/klog.json
index 38e2dba..ea7f036 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -1010,6 +1010,14 @@ 
     "label": "KlogAcpiUtCopyBadType"
   },
   {
+    "compare_mode": "string",
+    "log_level": "LOG_LEVEL_HIGH",
+    "tag": "FWTS_TAG_ACPI",
+    "pattern": "Needed Region, found type 0x",
+    "advice": "An ACPI object type did not match the expected type, expected an ACPI Region type.",
+    "label": "KlogAcpiCheckObjectTypeFailed"
+  },
+  {
     "compare_mode": "regex",
     "log_level": "LOG_LEVEL_HIGH",
     "tag": "FWTS_TAG_ACPI",