]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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: 1470160287c4 ("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 de4ea518c793f9a3ec4da0e1fba69cfad61b8bf9..f41668ddd94a702bc39490e05667ef455d6f8ead 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 7a4db8b903eed5475685bc70abd5f644d9b7175b..0e40c3d64fcf4228e5d90678aa1c1daafe644725 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,
 };