Message ID | 20191016214840.161364695@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp51821ill; Wed, 16 Oct 2019 15:09:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFHF6N67CFWGYrSqMCkZQN80n4+pyj+UD9MlTqbYSwftoUyOtu/My0xj7QtWmZweu9N3yA X-Received: by 2002:aa7:c70d:: with SMTP id i13mr493483edq.214.1571263797026; Wed, 16 Oct 2019 15:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571263797; cv=none; d=google.com; s=arc-20160816; b=1LcLARiUESytIXCyFigElTLRyn5vm/KVftlrWGqMYiCT2L/+6cyuA+b71mWsF3+HVs vdK+fh44DetlPFB2gE2h9Gdtlhv2ASFWflNfpq0es9la0dhjs6qoI/ifRiMW4x0+uRDz NlyfZO7ofV21IpeNtccAJzPV/eg+/HbMj3++bj+30koi37B3vk6jOtEkPvgV3im8zyrw B0zeZp/mkxCtDQH9t2eil1VYUqLsgJ0n3SDP54ksOjw8Yuwhnxb+0hjGUNxIBtkBB7DL lhTh0HY0mQvDhA3i2xxq0vQJ/k1artk1EEB3IXforAuW83Y+2hM5mnXKMxUco5cLRE4b uwmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Dr7f/LlvayJ6x9ytT44aT2hpjwb8sKDLK55Y9iW0mrw=; b=DqMPmJHEFAB64gNBJzK7qRgSdfLpSRVrGByK1aLCRuU8NCG3un1ID/UdukPiRib21n d/8iVNd81qozL/KaW1/+4MJ27M2dsmCOX1Ym9uJHM4LdYnJ8ocuy1BQQMPTzqxEsGWiT SwJ2dSqBD47hoA0LUyx+aGnI3oIvA/kuHGaiFKfa5+eaTMt68h30HZWdjWiAUrHnQ2ri /Vy/T2FINotFXHxd9qkIrb/B80frsximQ9ihPFO+hZVNsjtQ+fVha6HmxrD7BLYNJ27n 8Tg1pi1sryVc/0xRfav1rpvOI/GlhRy6x5bUda46jm75VZqWCug3LMw31fiOVwFQjgXl YcIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o67WOPaX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si199068eda.445.2019.10.16.15.09.56; Wed, 16 Oct 2019 15:09:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o67WOPaX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439144AbfJPWJz (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 16 Oct 2019 18:09:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:50042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395471AbfJPV5Z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Oct 2019 17:57:25 -0400 Received: from localhost (unknown [192.55.54.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B48CD20872; Wed, 16 Oct 2019 21:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571263044; bh=tLqn9fDciW0EARsJzKSJ3fsSJmySKLNnTrfEp8YU+jU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o67WOPaXzENmDg2LM8JUomPHIO/78dBZ6aPEvVsAUnrv80LGOufjg+0FvVDoFocjA Lhx1kSZ6xHTeQJoAwcZC+MDwGsstM0hMUA21To65hcniaXVR2KP/0zs1mtVcs9u836 beqvv6RkHSWtVbqzMLe6TJXInImJF5SSMMxhoNwM= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Scott Talbert <swt@techie.net>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Ben Dooks <ben.dooks@codethink.co.uk>, Dave Young <dyoung@redhat.com>, Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>, Jerry Snitselaar <jsnitsel@redhat.com>, Linus Torvalds <torvalds@linux-foundation.org>, Lukas Wunner <lukas@wunner.de>, Lyude Paul <lyude@redhat.com>, Matthew Garrett <mjg59@google.com>, Octavian Purdila <octavian.purdila@intel.com>, Peter Jones <pjones@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, linux-efi@vger.kernel.org, linux-integrity@vger.kernel.org, Ingo Molnar <mingo@kernel.org> Subject: [PATCH 4.19 49/81] efivar/ssdt: Dont iterate over EFI vars if no SSDT override was specified Date: Wed, 16 Oct 2019 14:51:00 -0700 Message-Id: <20191016214840.161364695@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214805.727399379@linuxfoundation.org> References: <20191016214805.727399379@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -281,6 +281,9 @@ static __init int efivar_ssdt_load(void) void *data; int ret; + if (!efivar_ssdt[0]) + return 0; + ret = efivar_init(efivar_ssdt_iter, &entries, true, &entries); list_for_each_entry_safe(entry, aux, &entries, list) {