Re: [RFC PATCH] m68k: set a default value for MEMORY_RESERVE

From: Greg Ungerer
Date: Mon Oct 04 2021 - 03:47:43 EST


On 4/10/21 4:47 pm, Geert Uytterhoeven wrote:
On Sun, Oct 3, 2021 at 2:02 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
'make randconfig' can produce a .config file with
"CONFIG_MEMORY_RESERVE=" (no value) since it has no default.
When a subsequent 'make all' is done, kconfig restarts the config
and prompts for a value for MEMORY_RESERVE. This breaks
scripting/automation where there is no interactive user input.

Add a default value for MEMORY_RESERVE. (Any integer value will
work here for kconfig.)

Fixes a kconfig warning:

.config:214:warning: symbol value '' invalid for MEMORY_RESERVE
* Restart config...
Memory reservation (MiB) (MEMORY_RESERVE) [] (NEW)

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") # from beginning of git history
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Acked-by: Greg Ungerer <gerg@xxxxxxxxxxxxxx>


As this is relevant for m68knommu, I'll leave it to Greg, unless he's too
busy.

Thanks Geert. No problem though, I'll pick this up and push to
the m68knommu git tree.

Regards
Greg