initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD
diff mbox series

Message ID 20210222125428.4168247-1-geert@linux-m68k.org
State Accepted
Commit 481083ec0bfc14c15f00fbe87c7b06dc01091950
Headers show
Series
  • initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD
Related show

Commit Message

Geert Uytterhoeven Feb. 22, 2021, 12:54 p.m. UTC
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")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 usr/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Masahiro Yamada Feb. 23, 2021, noon UTC | #1
On Mon, Feb 22, 2021 at 9:54 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> 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.


> 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.





> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
>  usr/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/usr/Kconfig b/usr/Kconfig
> index 2599bc21c1b227ba..8bbcf699fe3bebec 100644
> --- a/usr/Kconfig
> +++ b/usr/Kconfig
> @@ -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
>

Patch
diff mbox series

diff --git a/usr/Kconfig b/usr/Kconfig
index 2599bc21c1b227ba..8bbcf699fe3bebec 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -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.