From patchwork Tue Nov 20 12:37:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 151586 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp615233ljp; Tue, 20 Nov 2018 05:39:40 -0800 (PST) X-Google-Smtp-Source: AJdET5e4SJAPvsWA+c/8OvkVGi+18oM1jbVSeV4RKmrYCOhB+s9AQH2mJMQ0sriho58Rqi7YILA+ X-Received: by 2002:a81:24c1:: with SMTP id k184-v6mr1854818ywk.483.1542721180283; Tue, 20 Nov 2018 05:39:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542721180; cv=none; d=google.com; s=arc-20160816; b=02icIH8zxdoSvfDLk+T+9d8nlwCyuNQN5yOAGH70B7Td/m7mXY+atAVkZdKYMBZgHo oCwNleCcu+lSc2HGtIx2f0vDNSgk0KrqDvEGdXi8vTLGyhsctgBxknrPQKjDuV9H96ui gW/N0cmFBwxfnSstJ9zhaU3DHLPtWwhaBwUJPaJi448BWVBmwAPz/5ZuV5k8J1+ag1gt KOaAYycjOgVjajo3O4MYRvOO5XZ6oaLXejfdozoSGYLKeR0T0QrJyp4hzHPBC6FmgygG ABheOJUGo6pGxe8WctijGvmuNpXlvmDei9XtkkTAiVecXtaeayuTEjyDB4p/8a9pZsFF AReA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=gYYr9qbo3JAHc4pz/aGYMrJwOBmFGBqI1eZRfh5Bdu8=; b=zecQnA4FMSUfkkdyCLsHgK1RwoYDiMwmGCrHcVKpapkc3b0uNd1w4h/NZO1stgAJaG p7X2/0wwXPKubLVDHNklzV+WEfEWw1hsqBvpkfS4W0mEno+JFbwCbAQ06YlE9pW8iVfF ytYcJPGnMll4uSUO926ow1ahRQaIyTdzF9ft4qpZAKhG1+HQ0NmHt/azUTh7dACCWfBe aPoqR10CghuErKC0WYOWUd/Y79Q9M1LyO8d48nzXrMfbVX7+bUkVd55WM+tyXTgIYB5+ Q4gygYPc3VsPYJiw2SIdHdRecWtL6bzzVw8Vs2v3yH4NdUBHZEZKkW3g3QnSYf2/c6+W pcLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ikk6e+Yq; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h127-v6si20968426ywf.181.2018.11.20.05.39.40 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 20 Nov 2018 05:39:40 -0800 (PST) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ikk6e+Yq; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP6Fd-000891-CZ for patch@linaro.org; Tue, 20 Nov 2018 08:39:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP5HC-0002dQ-KH for grub-devel@gnu.org; Tue, 20 Nov 2018 07:37:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP5H7-00082Z-59 for grub-devel@gnu.org; Tue, 20 Nov 2018 07:37:10 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:33885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP5H6-00081y-Tx for grub-devel@gnu.org; Tue, 20 Nov 2018 07:37:05 -0500 Received: by mail-wr1-x441.google.com with SMTP id j2so1819196wrw.1 for ; Tue, 20 Nov 2018 04:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=sLQqiHsbjeEHxQ2rOWMEULTRu68V8bJFu5mCHDtr3rE=; b=ikk6e+Yq2Z0X7TBgQdAPxQ4u6isoSumIXLSq6mJws9m3lykEXpXw1NyrRdCgyazsi3 IqJbrbO1sQzFlzV0f7B4RhDNg8VyDaiV2jd97XjPTffug2SyfccokGy7e5tDk1YYyo3x Zqdg4J8LG4/3mf7/AknUMAvOD5l/zs929mO30= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=sLQqiHsbjeEHxQ2rOWMEULTRu68V8bJFu5mCHDtr3rE=; b=tibi3Z3CepewqRKAB5cOu4eDu8dG2WhuZIqIfFj3JbpaqwiimZmwPKuurvwjlEGv/k i54VSV0YFyxpup6VVXU12JUHcE97xzztbhqd3grFWTB8P2KHqnO/Vb67nYwlLkzMYVKY 8H6fxgzF5mVt02OXAgSAIkMcNcZRcbw+8p3rzRDo4B4S+BEc8R0XYlRMk2Y0fyBbaupl e9GS6phzm0/VJD8OSTH9DmMLcj6vzm01TgeFHIZ8MlhKdMGlvIMZq9y1n9hoNo+SM7vc bJjKAfWiLdL/gTSV5sZq6E+TW3ECrMJKW1RoS0s+6AnTLkwYoxJkt2kb7EmVhYhYrSx1 0s+A== X-Gm-Message-State: AA+aEWY8XMPVvFdhGcvIOGBJrybjDrMAl4fA68bpK2U367MPlcyRcPjC aSmyw9Y7+Fn33hlPTqMmHcAI9Q== X-Received: by 2002:adf:f2c6:: with SMTP id d6mr1748254wrp.37.1542717423579; Tue, 20 Nov 2018 04:37:03 -0800 (PST) Received: from dell ([2.31.167.205]) by smtp.gmail.com with ESMTPSA id k5-v6sm66501455wre.82.2018.11.20.04.37.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Nov 2018 04:37:02 -0800 (PST) Date: Tue, 20 Nov 2018 12:37:01 +0000 From: Lee Jones To: Daniel Kiper Subject: [PATCH v3 (part 2)] =?utf-8?q?generic/blocklist=3A_Fix_implicit_d?= =?utf-8?q?eclaration_of_function_=E2=80=98grub=5Ffile=5Ffilter=5Fd?= =?utf-8?q?isable=5Fcompression=27?= Message-ID: <20181120123701.GW3513@dell> References: <20181114192919.24655-1-leif.lindholm@linaro.org> <20181116140737.wuox7v63y6lt2ymt@tomti.i.net-space.pl> <20181120104656.GN3513@dell> <20181120113819.GS3513@dell> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181120113819.GS3513@dell> User-Agent: Mutt/1.9.4 (2018-02-28) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-Mailman-Approved-At: Tue, 20 Nov 2018 08:36:40 -0500 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Cc: The development of GNU GRUB , Julien Grall , Leif Lindholm , Fu Wei Fu Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" From: Lee Jones generic/blocklist: Fix implicit declaration of function ‘grub_file_filter_disable_compression' grub_file_filter_disable_compression() no longer exists. Signed-off-by: Lee Jones Signed-off-by: Lee Jones <lee.jones@linaro.org>
diff --git a/grub-core/osdep/generic/blocklist.c b/grub-core/osdep/generic/blocklist.c index 74024fd06..43186949d 100644 --- a/grub-core/osdep/generic/blocklist.c +++ b/grub-core/osdep/generic/blocklist.c @@ -59,8 +59,7 @@ grub_install_get_blocklist (grub_device_t root_dev, grub_disk_cache_invalidate_all (); - grub_file_filter_disable_compression (); - file = grub_file_open (core_path_dev); + file = grub_file_open (core_path_dev, FILE_TYPE_NO_DECOMPRESS); if (file) { if (grub_file_size (file) != core_size) @@ -117,8 +116,7 @@ grub_install_get_blocklist (grub_device_t root_dev, grub_file_t file; /* Now read the core image to determine where the sectors are. */ - grub_file_filter_disable_compression (); - file = grub_file_open (core_path_dev); + file = grub_file_open (core_path_dev, FILE_TYPE_NO_DECOMPRESS); if (! file) grub_util_error ("%s", grub_errmsg);