Re: [PATCH] zram: ZRAM_DEF_COMP should depend on ZRAM

From: Sergey Senozhatsky
Date: Mon Nov 11 2024 - 04:27:11 EST



Sorry for the delay


On (24/11/05 12:50), Geert Uytterhoeven wrote:
> When Compressed RAM block device support is disabled, the
> CONFIG_ZRAM_DEF_COMP symbol still ends up in the generated config file:
>
> CONFIG_ZRAM_DEF_COMP="unset-value"
>
> While this causes no real harm, avoid polluting the config file by
> adding a dependency on ZRAM.
>
> Fixes: 917a59e81c342f47 ("zram: introduce custom comp backends API")

Sort of feels like it might be 3d711a382735d that introduced
it first, but I'm okay with Fixes 917a59e81c342f47

> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>