From patchwork Sat Feb 13 01:08:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1440145 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dcsgj6CqJz9sBy for ; Sat, 13 Feb 2021 12:08:33 +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 1lAjQC-0004S2-Ot; Sat, 13 Feb 2021 01:08:28 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lAjQA-0004Rw-Sg for fwts-devel@lists.ubuntu.com; Sat, 13 Feb 2021 01:08:26 +0000 Received: from d198-53-221-123.abhsia.telus.net ([198.53.221.123] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lAjQA-0007dC-Ax; Sat, 13 Feb 2021 01:08:26 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH] version: remove /proc/acpi/info Date: Fri, 12 Feb 2021 18:08:20 -0700 Message-Id: <20210213010820.277666-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.25.1 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" This interface has been deprecated for long time Signed-off-by: Alex Hung Acked-by: Colin Ian King Acked-by: Ivan Hu --- src/kernel/version/version.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kernel/version/version.c b/src/kernel/version/version.c index c473b3c1..8c5a88bb 100644 --- a/src/kernel/version/version.c +++ b/src/kernel/version/version.c @@ -89,8 +89,7 @@ static int version_test4(fwts_framework *fw) { char *str; - if (((str = fwts_get("/sys/module/acpi/parameters/acpica_version")) == NULL) && - ((str = fwts_get("/proc/acpi/info")) == NULL)) + if ((str = fwts_get("/sys/module/acpi/parameters/acpica_version")) == NULL) fwts_log_info(fw, "Cannot get ACPI version info from " "/sys/module/acpi/parameters/acpica_version "