amt: fix typo in amt
authorTaehee Yoo <ap420073@gmail.com>
Mon, 23 May 2022 16:17:06 +0000 (16:17 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 May 2022 04:36:16 +0000 (21:36 -0700)
AMT_MSG_TEARDOWM is defined,
But it should be AMT_MSG_TEARDOWN.

Fixes: b9022b53adad ("amt: add control plane of amt interface")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/amt.c
include/net/amt.h

index de4ea51..f41668d 100644 (file)
@@ -57,7 +57,7 @@ static char *type_str[] = {
        "AMT_MSG_MEMBERSHIP_QUERY",
        "AMT_MSG_MEMBERSHIP_UPDATE",
        "AMT_MSG_MULTICAST_DATA",
-       "AMT_MSG_TEARDOWM",
+       "AMT_MSG_TEARDOWN",
 };
 
 static char *action_str[] = {
index 7a4db8b..0e40c3d 100644 (file)
@@ -15,7 +15,7 @@ enum amt_msg_type {
        AMT_MSG_MEMBERSHIP_QUERY,
        AMT_MSG_MEMBERSHIP_UPDATE,
        AMT_MSG_MULTICAST_DATA,
-       AMT_MSG_TEARDOWM,
+       AMT_MSG_TEARDOWN,
        __AMT_MSG_MAX,
 };