kernel: expose (unhide) CONFIG_ASN1 as ksmbd requirement
[openwrt/openwrt.git] / target / linux / generic / hack-5.4 / 252-init-Kconfig-make-ASN1-explicitly-selectable-unhide-.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Date: Mon, 23 Jan 2023 12:24:12 +0100
3 Subject: [PATCH] init/Kconfig: make ASN1 explicitly selectable (unhide it)
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 Kernel developers assumed ASN1 symbol may be needed only by in-kernel
9 code and they made it hidden. It is actually used by ksmbd version being
10 developed in GitHub (there is also upstream one since Linux 5.15).
11
12 To allow building ksmbd from GitHub cleanly allow selecting its
13 dependency (CONFIG_ASN1) explicitly by unhiding it.
14
15 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 ---
17 init/Kconfig | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- a/init/Kconfig
21 +++ b/init/Kconfig
22 @@ -2249,7 +2249,7 @@ config PADATA
23 bool
24
25 config ASN1
26 - tristate
27 + tristate "ASN.1 grammar compiler"
28 help
29 Build a simple ASN.1 grammar compiler that produces a bytecode output
30 that can be interpreted by the ASN.1 stream decoder and used to