+ zram-fix-kconfig-dependency-warning.patch added to mm-stable branch
The patch titled
Subject: zram: fix Kconfig dependency warning
has been added to the -mm mm-stable branch. Its filename is
zram-fix-kconfig-dependency-warning.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/zram-fix-kconfig-dependency-warning.patch
This patch will later appear in the mm-stable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Randy Dunlap <[email protected]>
Subject: zram: fix Kconfig dependency warning
Date: Sun, 22 May 2022 13:40:27 -0700
ZSMALLOC depends on MMU so ZRAM should also depend on MMU since 'select' does not follow any dependency chains.
Fixes this Kconfig warning:
WARNING: unmet direct dependencies detected for ZSMALLOC
Depends on [n]: MMU [=n]
Selected by [y]:
- ZRAM [=y] && BLK_DEV [=y] && BLOCK [=y] && SYSFS [=y] && (CRYPTO_LZO [=y] || CRYPTO_ZSTD [=m] || CRYPTO_LZ4 [=m] || CRYPTO_LZ4HC [=n] || CRYPTO_842 [=n])
---
drivers/block/zram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/zram/Kconfig renamed from drivers/block/zram/Kconfig~zram-fix-kconfig-dependency-warning +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 config ZRAM tristate "Compressed RAM block device support" - depends on BLOCK && SYSFS + depends on BLOCK && SYSFS && MMU depends on CRYPTO_LZO || CRYPTO_ZSTD || CRYPTO_LZ4 || CRYPTO_LZ4HC || CRYPTO_842 select ZSMALLOC help
_
Patches currently in -mm which might be from [email protected] are
zram-fix-kconfig-dependency-warning.patch