111c122751
- Add qemu-riscv64spl Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2021.01 * Patches added: 0031-efi_loader-Avoid-emitting-efi_var_b.patch - Drop pcm051rev3 for Phytec Wega board - Fix binary extension for sunxi based boards - Add Pinephone - Fix documentation location Update to v2021.01. Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2021.01 * Patches dropped: 0028-usb-xhci-xhci_bulk_tx-Don-t-BUG-whe.patch 0029-Revert-Fix-data-abort-caused-by-mis.patch 0030-usb-xhci-pci-Add-DM_FLAG_OS_PREPARE.patch 0031-pci-brcmstb-Cleanup-controller-stat.patch * Patches added: 0028-usb-xhci-pci-Add-DM_FLAG_OS_PREPARE.patch 0029-pci-brcmstb-Cleanup-controller-stat.patch 0030-fs-btrfs-Select-SHA256-in-Kconfig.patch OBS-URL: https://build.opensuse.org/request/show/872955 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=127
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From f3d0d5e548431be08036b4671d750f73a1a258d4 Mon Sep 17 00:00:00 2001
|
|
From: Matthias Brugger <mbrugger@suse.com>
|
|
Date: Wed, 27 Jan 2021 10:42:30 +0100
|
|
Subject: [PATCH] fs: btrfs: Select SHA256 in Kconfig
|
|
|
|
Since commit 565a4147d17a ("fs: btrfs: Add more checksum algorithms")
|
|
btrfs uses the sha256 checksum algorithm. But Kconfig lacks to select
|
|
it. This leads to compilation errors:
|
|
fs/built-in.o: In function `hash_sha256':
|
|
fs/btrfs/crypto/hash.c:25: undefined reference to `sha256_starts'
|
|
fs/btrfs/crypto/hash.c:26: undefined reference to `sha256_update'
|
|
fs/btrfs/crypto/hash.c:27: undefined reference to `sha256_finish'
|
|
|
|
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
|
|
Reviewed-by: Qu Wenruo <wqu@suse.com>
|
|
---
|
|
fs/btrfs/Kconfig | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
|
|
index f302b1fbef..2a32f42ad1 100644
|
|
--- a/fs/btrfs/Kconfig
|
|
+++ b/fs/btrfs/Kconfig
|
|
@@ -4,6 +4,7 @@ config FS_BTRFS
|
|
select LZO
|
|
select ZSTD
|
|
select RBTREE
|
|
+ select SHA256
|
|
help
|
|
This provides a single-device read-only BTRFS support. BTRFS is a
|
|
next-generation Linux file system based on the copy-on-write
|