2021-02-22 14:04:45

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] 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")
Signed-off-by: Geert Uytterhoeven <[email protected]>
---
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


2021-02-23 12:08:06

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD

On Mon, Feb 22, 2021 at 9:54 PM Geert Uytterhoeven <[email protected]> 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 <[email protected]>
> ---
> 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
>


--
Best Regards
Masahiro Yamada