All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD
@ 2021-02-22 12:54 Geert Uytterhoeven
  2021-02-23 12:00 ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-02-22 12:54 UTC (permalink / raw)
  To: Nick Terrell, Ingo Molnar, Masahiro Yamada
  Cc: linux-kernel, 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.

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD
  2021-02-22 12:54 [PATCH] initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD Geert Uytterhoeven
@ 2021-02-23 12:00 ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2021-02-23 12:00 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Nick Terrell, Ingo Molnar, Linux Kernel Mailing List

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
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-23 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 12:54 [PATCH] initramfs: Remove redundant dependency of RD_ZSTD on BLK_DEV_INITRD Geert Uytterhoeven
2021-02-23 12:00 ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.