Message ID | 20191016214832.914076532@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp38111ill; Wed, 16 Oct 2019 14:57:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUKNbWFziY5iIUemzF7kDpDgaogdUjiOiqJ0Uvyhm2bgdupPyaoizyxFk3DhFMSFyiXM// X-Received: by 2002:a17:906:6a14:: with SMTP id o20mr515712ejr.230.1571263041674; Wed, 16 Oct 2019 14:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571263041; cv=none; d=google.com; s=arc-20160816; b=SxW8JnIyryWBZbyEUwrOz1iQEw5LfChpxhSAurEK0ZcRLg12qGe3j85red8zk8EeEk C2xL1/1t8mH0jwe7ZePh8ITCm0XIQSNm34tIHQq56fuLURg6EmAouWLVf/sgJqU27FyY 9xZCQwLjPP57yE7Hf7dyUpVS1sjuGvd7CvsUV+NWRxaVbMEBj+rYZms1Jko77ztXT2gV +83F1aDCnyGlO1do5jZGltSTrckMVCS3vx8rSNksijn21mCdigX6r0K/L85NOGsJ6wvK KmAF+7qfkzvUPiUxJA99zXUZhId+BZXR7UJ+ImvIITC7oTT68m/2HUtGcKDDh80ZHTjP sOFA== 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=Yoqg2O4T3JUjMYVYWPNPZ3Rvpr5LBOhO0ASGhstsqz4=; b=zvyN8O4YuO2ssoS8q6lGkgqWxzuMVEvZTT/wyLluq33QP8h5WkPOn1CP9AElEjVRfK IVe7x6uFnXS042GJggN8mnMrHyBuPn3yLsgQv8iBGcalInxw4u2cX1slwyMBxia749CN 9Mr3M7p5aljyBWN4jDxQTg0gvBmdjXdRlRZSMW67BWjc9K+5mG+azKN9Y826IEEpnH8L GSZxJ6dj+IEaeYl6f5tM7NI/KoEiQe97qwDYkflG76xY8B9IZSOQ31liFXVw1BjfTTzO Mpv4vJlKF9vaXxit9ORtSxy3X8u9gS+7tWtuYHA6kfxevEr35B3eMB2f1cM5N3mFZ2MI EvVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HcPXBAAK; 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 5si215216edy.95.2019.10.16.14.57.21; Wed, 16 Oct 2019 14:57:21 -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=HcPXBAAK; 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 S2395462AbfJPV5U (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 16 Oct 2019 17:57:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:48668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395417AbfJPV4o (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Oct 2019 17:56:44 -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 C1E8A21D7D; Wed, 16 Oct 2019 21:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571263003; bh=8Em2bsmIAcI/tf3Ihod02Uq15PYbjOQsMAOdNwSUvTk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HcPXBAAKzTiqlPdXsQ6seV/3ICMFLT4Qpban1IyigTKtBzCfgt5P65YO37F3O3v7L 115jhdnO1eOvCapNQ9BaQqyro7pZpDiSZHsimnEjBD2DlbvkVt3NAF4Lug3PEgGRwn a/Nxgs84SkUIknWDgtafhvNOTO2ig+7SHUOFlD0s= 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.14 43/65] efivar/ssdt: Dont iterate over EFI vars if no SSDT override was specified Date: Wed, 16 Oct 2019 14:50:57 -0700 Message-Id: <20191016214832.914076532@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214756.457746573@linuxfoundation.org> References: <20191016214756.457746573@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 @@ -266,6 +266,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) {