Message ID | 20191016214900.840734790@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp39302ill; Wed, 16 Oct 2019 14:59:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUEZKbbrRrf2XDib3BoCLzJbDmL+QfVtMN8/5HrLMW0KjGpISPNA8JOquiUWO8OzAGuD22 X-Received: by 2002:a05:6402:657:: with SMTP id u23mr409387edx.159.1571263141889; Wed, 16 Oct 2019 14:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571263141; cv=none; d=google.com; s=arc-20160816; b=vzAD4gnAk/sXozTN5yHf55cGV2OjrGsJA1aEUkXypT1EOtW4Iie1j8O1kLc8JmmaJ+ 3iHUbu8feC1uZISM9Y3pbvOrHFFjcAqU06atsz4Z4s/SLpNNqlYQYNL2P5hY2R+fKXl+ m+2XG8A8aZO3kHBLE+J0fMTQRKIo0gciGlIwVWbHDa1xsfEdA249ZgJvzZFeN3r7dn0b BqaKKVvoJT5WJMQb6wAvM1F9VU0kDgrVSbviZGjWvO3AX/kB4uCsU7FoATogoAMMNyHM hQ/uzf6DvBjQoWYJY6YcPtBNPdA945uzIGb8ctydcxBMangMXoTuFPrdO4FQ24xpgXr8 7Dtw== 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=uf/kPmGZ1mI7BA/tX5lEsT2ze7Kwz8P8CVkG5Y6jGVA=; b=I/U9wcrIuGeJ5CehiqfJxasYJqPLV47EdCjP/q1XsTpKJhS8RkeAn+oHdKHwAkbdo0 WF2G+IMJbWN1phstOscqEtwuQQ2Ih37oyxyCL75aSsTL5d1mW5d5uS2LRpou1VahOIhY quXbf/4akUzY91O6x8I6nE5/vMkYVoUnI46nacr4N60eUjCEaNhVC+R22mOd9IirNBJt 0nW1kAfZSNaG0Ps3V+PC6dktwbyWSpjJChcIiq6uDJ/IugDXJPUBQpd58ug29XdUQfgL 5ZJhRbQ2fBF0T9EfT2DcMqslz0HhgSr7f8hwonn8Hw1le95Pqyn96B/AESSBgyWVEAZa aDQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1lGijWaR; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org Return-Path: <linux-efi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pk19si214278ejb.257.2019.10.16.14.59.01; Wed, 16 Oct 2019 14:59:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-efi-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=1lGijWaR; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438361AbfJPV7B (ORCPT <rfc822; heyi.guo@linaro.org> + 3 others); Wed, 16 Oct 2019 17:59:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:53068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404003AbfJPV7A (ORCPT <rfc822;linux-efi@vger.kernel.org>); Wed, 16 Oct 2019 17:59:00 -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 CB93C20872; Wed, 16 Oct 2019 21:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571263139; bh=IBDqXUFTgvbXNtgLNo86W8OOy+sVrhGFPMnCyefn4gQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1lGijWaR5W7UTOBc8W9DUqk8PIlsdiUmnai0zzDrJIXL4+3nlt1XbqKjQdl47wLMF rA5dh6XEyHf7XidWUWniQwfvkdDitqdI3XK15MtX9n9YDHEUMbDzZZ5paM9GaDyEY+ lYP0i5h7weEybKsY2dCYZrg7iobiSfq4Gsaev/AQ= 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 5.3 062/112] efivar/ssdt: Dont iterate over EFI vars if no SSDT override was specified Date: Wed, 16 Oct 2019 14:50:54 -0700 Message-Id: <20191016214900.840734790@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214844.038848564@linuxfoundation.org> References: <20191016214844.038848564@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-efi.vger.kernel.org> X-Mailing-List: linux-efi@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -282,6 +282,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) {