提交 3fcc8a25 编写于 作者: N Nico Pache 提交者: David S. Miller

kunit: mptcp: adhere to KUNIT formatting standard

Drop 'S' from end of CONFIG_MPTCP_KUNIT_TESTS in order to adhere to the
KUNIT *_KUNIT_TEST config name format.

Fixes: a00a5822 (mptcp: move crypto test to KUNIT)
Reviewed-by: NDavid Gow <davidgow@google.com>
Reviewed-by: NMatthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: NNico Pache <npache@redhat.com>
Signed-off-by: NMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 820dd7a2
...@@ -22,7 +22,7 @@ config MPTCP_IPV6 ...@@ -22,7 +22,7 @@ config MPTCP_IPV6
depends on IPV6=y depends on IPV6=y
default y default y
config MPTCP_KUNIT_TESTS config MPTCP_KUNIT_TEST
tristate "This builds the MPTCP KUnit tests" if !KUNIT_ALL_TESTS tristate "This builds the MPTCP KUnit tests" if !KUNIT_ALL_TESTS
depends on KUNIT depends on KUNIT
default KUNIT_ALL_TESTS default KUNIT_ALL_TESTS
......
...@@ -9,4 +9,4 @@ obj-$(CONFIG_INET_MPTCP_DIAG) += mptcp_diag.o ...@@ -9,4 +9,4 @@ obj-$(CONFIG_INET_MPTCP_DIAG) += mptcp_diag.o
mptcp_crypto_test-objs := crypto_test.o mptcp_crypto_test-objs := crypto_test.o
mptcp_token_test-objs := token_test.o mptcp_token_test-objs := token_test.o
obj-$(CONFIG_MPTCP_KUNIT_TESTS) += mptcp_crypto_test.o mptcp_token_test.o obj-$(CONFIG_MPTCP_KUNIT_TEST) += mptcp_crypto_test.o mptcp_token_test.o
...@@ -78,6 +78,6 @@ void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac) ...@@ -78,6 +78,6 @@ void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac)
sha256(input, SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE, hmac); sha256(input, SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE, hmac);
} }
#if IS_MODULE(CONFIG_MPTCP_KUNIT_TESTS) #if IS_MODULE(CONFIG_MPTCP_KUNIT_TEST)
EXPORT_SYMBOL_GPL(mptcp_crypto_hmac_sha); EXPORT_SYMBOL_GPL(mptcp_crypto_hmac_sha);
#endif #endif
...@@ -402,7 +402,7 @@ void __init mptcp_token_init(void) ...@@ -402,7 +402,7 @@ void __init mptcp_token_init(void)
} }
} }
#if IS_MODULE(CONFIG_MPTCP_KUNIT_TESTS) #if IS_MODULE(CONFIG_MPTCP_KUNIT_TEST)
EXPORT_SYMBOL_GPL(mptcp_token_new_request); EXPORT_SYMBOL_GPL(mptcp_token_new_request);
EXPORT_SYMBOL_GPL(mptcp_token_new_connect); EXPORT_SYMBOL_GPL(mptcp_token_new_connect);
EXPORT_SYMBOL_GPL(mptcp_token_accept); EXPORT_SYMBOL_GPL(mptcp_token_accept);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册