diff options
| author | Jeremy Kerr <[email protected]> | 2025-07-02 06:20:08 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-07-08 10:39:23 +0000 |
| commit | 19396179a0f1f912b22c051afb468482b0d9466f (patch) | |
| tree | e46d2596b2fa08b73206826a67384f6bc89c7b93 /net/mctp/af_mctp.c | |
| parent | net: mctp: test: move functions into utils.[ch] (diff) | |
| download | kernel-19396179a0f1f912b22c051afb468482b0d9466f.tar.gz kernel-19396179a0f1f912b22c051afb468482b0d9466f.zip | |
net: mctp: test: add sock test infrastructure
Add a new test object, for use with the af_mctp socket code. This is
intially empty, but we'll start populating actual tests in an upcoming
change.
Signed-off-by: Jeremy Kerr <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/mctp/af_mctp.c')
| -rw-r--r-- | net/mctp/af_mctp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mctp/af_mctp.c b/net/mctp/af_mctp.c index e2570d9755ea..aef74308c18e 100644 --- a/net/mctp/af_mctp.c +++ b/net/mctp/af_mctp.c @@ -775,3 +775,7 @@ MODULE_DESCRIPTION("MCTP core"); MODULE_AUTHOR("Jeremy Kerr <[email protected]>"); MODULE_ALIAS_NETPROTO(PF_MCTP); + +#if IS_ENABLED(CONFIG_MCTP_TEST) +#include "test/sock-test.c" +#endif |
