generic: 6.6: net: sfp-bus: fix SFP mode detect from bitrate
[openwrt/openwrt.git] / target / linux / generic / hack-5.10 / 205-kconfig-exit.patch
1 --- a/scripts/kconfig/conf.c
2 +++ b/scripts/kconfig/conf.c
3 @@ -215,6 +215,8 @@ static int conf_sym(struct menu *menu)
4 break;
5 continue;
6 case 0:
7 + if (!sym_has_value(sym) && !tty_stdio && getenv("FAIL_ON_UNCONFIGURED"))
8 + exit(1);
9 newval = oldval;
10 break;
11 case '?':