From: Vegard Nossum <vegard.nossum@oracle.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
Vegard Nossum <vegard.nossum@oracle.com>,
Hans de Goede <hdegoede@redhat.com>
Subject: [PATCH] efi: select CRYPTO for EFI_EMBEDDED_FIRMWARE
Date: Fri, 15 Oct 2021 15:19:46 +0200 [thread overview]
Message-ID: <20211015131946.13374-1-vegard.nossum@oracle.com> (raw)
Fix the following build warning:
WARNING: unmet direct dependencies detected for CRYPTO_LIB_SHA256
Depends on [n]: CRYPTO [=n]
Selected by [y]:
- EFI_EMBEDDED_FIRMWARE [=y] && EFI [=y]
Fixes: f0df68d5bae88 ("efi: Add embedded peripheral firmware support")
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
drivers/firmware/efi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 2c3dac5ecb36d..f914da9845acc 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -248,6 +248,7 @@ endmenu
config EFI_EMBEDDED_FIRMWARE
bool
depends on EFI
+ select CRYPTO
select CRYPTO_LIB_SHA256
config UEFI_CPER
--
2.23.0.718.g5ad94255a8
next reply other threads:[~2021-10-15 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-15 13:19 Vegard Nossum [this message]
2021-10-15 13:55 ` [PATCH] efi: select CRYPTO for EFI_EMBEDDED_FIRMWARE Ard Biesheuvel
2021-10-15 19:10 ` Eric Biggers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211015131946.13374-1-vegard.nossum@oracle.com \
--to=vegard.nossum@oracle.com \
--cc=ardb@kernel.org \
--cc=hdegoede@redhat.com \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).