From patchwork Tue Nov 10 16:38:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 56340 Delivered-To: patches@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp872915lbb; Tue, 10 Nov 2015 08:38:16 -0800 (PST) X-Received: by 10.50.160.2 with SMTP id xg2mr15223003igb.54.1447173496458; Tue, 10 Nov 2015 08:38:16 -0800 (PST) Return-Path: Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com. [2607:f8b0:4001:c05::233]) by mx.google.com with ESMTPS id ef4si17557661igb.0.2015.11.10.08.38.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2015 08:38:16 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4001:c05::233 as permitted sender) client-ip=2607:f8b0:4001:c05::233; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4001:c05::233 as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro_org.20150623.gappssmtp.com Received: by igl9 with SMTP id 9so57327002igl.0 for ; Tue, 10 Nov 2015 08:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=sHOr+TBNkLkS7UiUbY8CdKwEcZ2tpGz4S+fXqlzFSzg=; b=1qNgcLW7o8QfRnf12x2DFjQgjp2NJ6Cwq0TtYIo7y2Qhkb/4dEAlKzqt1qQ8hRq/FU c8azhf3RJlNPFicoPauGlPVRVPfGl+fN2HgpAfvo+cAaSy1oDvyjvh7cHNYbD7UYbsd2 32gVsRa18JfAhoZRwRkr85N1XIF52PLpH4m0cJkUPO+89mqIelDYYLiLK7+tbOV9uXd9 a24CHgpx8lkqV07X2YDqGdRQNvP3N1jIWDhw3NyvGDOy4VIDIWXfoQK6eWaMQ64gm9Cb i8tPD0TlczzxXOyuCc74i9ZxlaOGOPYVuc/cMfEt0fOKv+wlV9dRfb306ugljxxICrLz zC6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sHOr+TBNkLkS7UiUbY8CdKwEcZ2tpGz4S+fXqlzFSzg=; b=O13O5fRl6TR6FUlSHgMKPsOKkOA+dBSGULMPOj+xhyF2qRlXxYwLAW4SXUc5BQsGIv gNU3+xHVGjp35Wv9X0egGtPM834YxhGqE7mFPCs/Y0rPTPbLcZI3xTTamC0JUvV1Fnz+ cDqtpTVeFXL3kY+roN9dP0ZKxAS3OeBfa2I48C1NfSLWGsXSQ1D3xdXqhGpXtYsTB3cy 9InHF87+ud3aFIQn1g5L1nEIbWuVOZxCe0ycJ5SirfD8T4G5whJdq+mKAF2u6fFR9Ftl 2w/iCH9XEQbXzaxI4SGBGgJvEKbexRViF6EwpW/5VWak2FMS7beUd/x6Lkd+tAwpmB/j 6tcg== X-Gm-Message-State: ALoCoQkO6C3rHUKB0MHX9XXx+PGPevSBvJDgCCsDp5Vinyvp7jqiyAyvTS5tDvSQdJ+QT8LRHfCg X-Received: by 10.50.78.194 with SMTP id d2mr4582726igx.72.1447173495384; Tue, 10 Nov 2015 08:38:15 -0800 (PST) Return-Path: Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id 75sm1616278ios.35.2015.11.10.08.38.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2015 08:38:14 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH] ACPI: MADT: further update to GICC flag checks for 6.0 Date: Tue, 10 Nov 2015 09:38:02 -0700 Message-Id: <1447173482-7825-1-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In a previous patch ("ACPI: MADT: update GICC flag checks for ACPI 6.0"), I corrected the flag mask used in the if test, but failed to correct the flag used in the fwts_failed() call that was part of the logic block. This patch fixes the mask for fwts_failed() so the test and failure message are consistent again. Signed-off-by: Al Stone --- src/acpi/madt/madt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.5.0 diff --git a/src/acpi/madt/madt.c b/src/acpi/madt/madt.c index 1f19848..31c6650 100644 --- a/src/acpi/madt/madt.c +++ b/src/acpi/madt/madt.c @@ -232,7 +232,7 @@ static int madt_test1(fwts_framework *fw) "MADTGICFLags", "MADT GIC, flags, bits 2..31 are reserved " "and should be zero, but are set as: %" PRIx32 ".", - gic->flags & 0xfffffffc); + gic->flags & 0xfffffff8); } skip = sizeof(fwts_acpi_madt_gic);