Skip to contentSkip to conversation

initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD

PATCH In review Geert Uytterhoeven 2 participants 2 messages Feb 22, 2021 – Feb 23, 2021 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD

Commit be1859bdc660213b ("initramfs: remove redundant dependency on BLK_DEV_INITRD") removed all redundant dependencies on BLK_DEV_INITRD, but the recent addition of zstd support introduced a new one.

Fixes a30d8a39f0571425 ("usr: Add support for zstd compressed initramfs")
---
 usr/Kconfig | 1 -
 1 file changed, 1 deletion(-)
usr/Kconfig +0 -1
index 2599bc21c1b227ba..8bbcf699fe3bebec 100644
@@ -103,7 +103,6 @@ config RD_LZ4
 config RD_ZSTD
 	bool "Support initial ramdisk/ramfs compressed using ZSTD"
 	default y
-	depends on BLK_DEV_INITRD
 	select DECOMPRESS_ZSTD
 	help
 	  Support loading of a ZSTD encoded initial ramdisk or cpio buffer.
Signature · 1 line
2.25.1
#1 lore raw
Quoted 4 lines · Geert Uytterhoeven

Commit be1859bdc660213b ("initramfs: remove redundant dependency on BLK_DEV_INITRD") removed all redundant dependencies on BLK_DEV_INITRD, but the recent addition of zstd support introduced a new one.

This patch is trivial.
Applied to linux-kbuild. Thanks.

Quoted 1 line
Fixes a30d8a39f0571425 ("usr: Add support for zstd compressed initramfs")

I changed this to 12-digit hash.

Documentation/process/submitting-patches.rst says:

please use the 'Fixes:' tag with the first 12 characters of the SHA-1 ID, and the one line summary.

Quoted 20 lines
---
 usr/Kconfig | 1 -
 1 file changed, 1 deletion(-)
usr/Kconfig +0 -2
index 2599bc21c1b227ba..8bbcf699fe3bebec 100644
@@ -103,7 +103,6 @@ config RD_LZ4
 config RD_ZSTD
        bool "Support initial ramdisk/ramfs compressed using ZSTD"
        default y
-       depends on BLK_DEV_INITRD
        select DECOMPRESS_ZSTD
        help
          Support loading of a ZSTD encoded initial ramdisk or cpio buffer.
--

2.25.1

Signature · 2 lines
Best Regards
Masahiro Yamada