cifsd: fix build error without CONFIG_OID_REGISTRY
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 20 May 2021 13:42:11 +0000 (13:42 +0000)
committerNamjae Jeon <namjae.jeon@samsung.com>
Fri, 21 May 2021 00:33:22 +0000 (09:33 +0900)
commitbe29a3709b89374c6ae287b19dd651a8c0f10b8a
treea4355d0cf1828a895418aaa127e91282be675ebd
parenteb817368f50c1cbe1bd07044124aad7db6330e3a
cifsd: fix build error without CONFIG_OID_REGISTRY

Fix build error when CONFIG_OID_REGISTRY is not set:

mips-linux-gnu-ld: fs/cifsd/asn1.o: in function `gssapi_this_mech':
asn1.c:(.text+0xaa0): undefined reference to `sprint_oid'
mips-linux-gnu-ld: fs/cifsd/asn1.o: in function `neg_token_init_mech_type':
asn1.c:(.text+0xbec): undefined reference to `sprint_oid'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/Kconfig