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

From: Masahiro Yamada
Date: Tue Feb 23 2021 - 07:06:12 EST


On Mon, Feb 22, 2021 at 9:54 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
> ---
> 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