mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
amt: fix wrong type string definition
[ Upstream commitd7970039d8
] amt message type definition starts from 1, not 0. But type_str[] starts from 0. So, it prints wrong type information. Fixes:cbc21dc1cf
("amt: add data plane of amt interface") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
42c6af9266
commit
d5822be047
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ static char *status_str[] = {
|
|||
};
|
||||
|
||||
static char *type_str[] = {
|
||||
"", /* Type 0 is not defined */
|
||||
"AMT_MSG_DISCOVERY",
|
||||
"AMT_MSG_ADVERTISEMENT",
|
||||
"AMT_MSG_REQUEST",
|
||||
|
|
Loading…
Reference in a new issue