Message ID | 20191016214845.951472119@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp58554ill; Wed, 16 Oct 2019 15:15:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLZFEkKRIqHDSax16O7xAcymPaNbTQB92/VNihCBXZmAZCUGotpbA6E+N8TfuLO+MwD3zB X-Received: by 2002:a17:906:c317:: with SMTP id s23mr574169ejz.251.1571264151062; Wed, 16 Oct 2019 15:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571264151; cv=none; d=google.com; s=arc-20160816; b=jxdkyd1wecOXVLYGKNq7lJ9q8OHm1qGYHkmJHcWnkzz2VCJeeKqW9HbtLYSS0gfxCR jG9dWW2pEdJP95corlZutTHlG/ZCvdaLQN4ZAxrjyvyYbXhkVCzU+eYZVNJMRMdLEm6m 6k0DohRx+xkdHw20NUSAXYRZK5DF9RFxzUFNwbUYBUea4p4DiuDCJ1UCbZKY8v+OA9TP WsYHimWI3hePVvc0ZfZw6aHwwZYjaeFvPfWsjpCXXQfeJjfCbcrSQjgDA4iD9kRS16oM v0x+WiZA1ECzYI+oEYZ1kc0npMPT+AWt0q7ONGeqGyyzOB2psB4UOrkag2QPfp069cpq Za5w== 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=CIqK9vjiVfFjX6rgYnDi1O7kkZz7xeTkxncLYa+ky2Y=; b=OQWBPoyXh90GvBsOw4bXNhUNuPOUpsbul4fJ6kJ2XhORaUdavDGD4Hu4jdaC5K6v8q VrzqSEpuGrdpKRVw+ahTowjuXpMwCxfstbzfBfCdKBHnqQH+iIeqY1HluBHy6pJ7gP1O 71dTMc8zL5BrfQskszfyRTdMXNL5/Yzfc0iy1diV37kkBjvwoZ0MkpPR4o7uYyTxsbX/ fNZKvuZkMDMcyZgrXBj9/6/UCKO//tvWklNFVx43+fYhVEpuQC9bVDNqJJB2GNKp2rlH vI+DChXAhRCWN8cM/J4mucaAVYWYjGIm2neOpYRdgzWkXy2b7/nJqWHCPpSsErqOPZpi rCPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aVhWrnas; 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 n3si268693edc.151.2019.10.16.15.15.50; Wed, 16 Oct 2019 15:15:51 -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=aVhWrnas; 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 S2437784AbfJPVzV (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 16 Oct 2019 17:55:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:45762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437748AbfJPVzR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Oct 2019 17:55:17 -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 4C7D1218DE; Wed, 16 Oct 2019 21:55:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571262916; bh=61zl7DkTaWrXCdCD6qktASwL8w1xwvcJ3Y+nDn38yoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aVhWrnaswqTQjQsdIPP8LDcoErM56dPS7JJVgIaJe6Lruq7znAHVpleEF+Ym3Q1Tm ANX13YnlPo9gQJsCylwxGolX1gQDUSYme47GcXNEHuukGCr2lKpBukq2gZQafzH+wk EXWWEiCbqjPjoOKYOFAOb/mhJqntphH50K4bxtXI= 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.9 76/92] efivar/ssdt: Dont iterate over EFI vars if no SSDT override was specified Date: Wed, 16 Oct 2019 14:50:49 -0700 Message-Id: <20191016214845.951472119@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214759.600329427@linuxfoundation.org> References: <20191016214759.600329427@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 @@ -243,6 +243,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) {