From: akpm@linux-foundation.org Subject: + firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch added to -mm tree Date: Thu, 23 Jan 2014 13:50:33 -0800 Message-ID: <52e18ea9.VFrjezMrSeqVFndY%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:36739 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbaAWVue (ORCPT ); Thu, 23 Jan 2014 16:50:34 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, rientjes@google.com, mikew@google.com, ard.biesheuvel@linaro.org Subject: + firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch added to -mm tree To: ard.biesheuvel@linaro.org,mikew@google.com,rientjes@google.com From: akpm@linux-foundation.org Date: Thu, 23 Jan 2014 13:50:33 -0800 The patch titled Subject: firmware/google: drop 'select EFI' to avoid recursive dependency has been added to the -mm tree. Its filename is firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ard Biesheuvel Subject: firmware/google: drop 'select EFI' to avoid recursive dependency The GOOGLE_SMI Kconfig symbol depends on DMI and selects EFI. This causes problems on other archs when introducing DMI support that depends on EFI, as it results in a recursive dependency: arch/arm/Kconfig:1845:error: recursive dependency detected! arch/arm/Kconfig:1845: symbol DMI depends on EFI Fix by changing the 'select EFI' to a 'depends on EFI'. Signed-off-by: Ard Biesheuvel Cc: David Rientjes Acked-by: Mike Waychison Signed-off-by: Andrew Morton --- drivers/firmware/google/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/firmware/google/Kconfig~firmware-google-drop-select-efi-to-avoid-recursive-dependency drivers/firmware/google/Kconfig --- a/drivers/firmware/google/Kconfig~firmware-google-drop-select-efi-to-avoid-recursive-dependency +++ a/drivers/firmware/google/Kconfig @@ -12,8 +12,7 @@ menu "Google Firmware Drivers" config GOOGLE_SMI tristate "SMI interface for Google platforms" - depends on ACPI && DMI - select EFI + depends on ACPI && DMI && EFI select EFI_VARS help Say Y here if you want to enable SMI callbacks for Google _ Patches currently in -mm which might be from ard.biesheuvel@linaro.org are origin.patch firmware-dmi_scan-generalize-for-use-by-other-archs.patch firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch