On Sun, May 22, 2022 at 01:40:27PM -0700, Randy Dunlap wrote: > 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]) > > Fixes: b3fbd58fcbb10 ("mm: Kconfig: simplify zswap configuration") > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > Cc: Johannes Weiner <hannes@xxxxxxxxxxx> > Cc: Minchan Kim <minchan@xxxxxxxxxx> > Cc: Nitin Gupta <ngupta@xxxxxxxxxx> > Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: linux-block@xxxxxxxxxxxxxxx > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> Thanks Randy!