From patchwork Thu Mar 9 09:00:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1754550 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=jrfzF0cL; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PXNSx70w2z2469 for ; Thu, 9 Mar 2023 20:01:05 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1paC8y-0005yP-Dl; Thu, 09 Mar 2023 09:01:00 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1paC8w-0005xY-Iu for fwts-devel@lists.ubuntu.com; Thu, 09 Mar 2023 09:00:58 +0000 Received: from canonical.com (unknown [106.104.136.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 4F8A73FFF7 for ; Thu, 9 Mar 2023 09:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1678352458; bh=IbWyOO9y/ufvCKZ207QKz4L5VXAvMsMc7x4PCcI4GUo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jrfzF0cLg5n9ZjXwTZhUa/Kw88qw26rkOFYJNgzkDsQpjfUdjgO6LoQG6k1TVxoUK RN9np6rtxB4EQwfx5WdVA4PJI9gJ9ezoFJUfMOKZOYK3kiK5EsG7LH/ESGWGqgfPBx dvbHpXMNREQb0uv7IkcVKEy0OZ/DY/QBAk+yRt/NGJXTg9Ae7CHDaZJkPYYPdtHZAF 2El2lZFvNcGvHZBRu2V0QfmqV1lvdLjsTo9hr8htcBVH5oexuctHZLO/LhunpT25B3 l4o0oIQaE7rhnV9DqozO7j4LqIXnMj9tgG03VpXX2xX/iUxbKLYPcKKIUkm9Or7TBV 66ixquf1JOSig== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 07/10] dmicheck: update the interface field for type 21 Date: Thu, 9 Mar 2023 17:00:15 +0800 Message-Id: <20230309090018.32029-7-ivan.hu@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230309090018.32029-1-ivan.hu@canonical.com> References: <20230309090018.32029-1-ivan.hu@canonical.com> MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" Signed-off-by: Ivan Hu --- src/dmi/dmicheck/dmicheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c index f2f8cb55..be934ad4 100644 --- a/src/dmi/dmicheck/dmicheck.c +++ b/src/dmi/dmicheck/dmicheck.c @@ -1743,7 +1743,7 @@ static void dmicheck_entry(fwts_framework *fw, if (hdr->length < 0x07) break; dmi_min_max_uint8_check(fw, table, addr, "Type", hdr, 0x4, 0x1, 0x9); - fwts_dmi_value_range t21_ranges[] = {{0x1, 0x8}, {0xa0, 0xa2}}; + fwts_dmi_value_range t21_ranges[] = {{0x1, 0x8}, {0xa0, 0xa4}}; dmi_ranges_uint8_check(fw, table, addr, "Interface", hdr, 0x5, t21_ranges); break;