]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
amt: fix wrong type string definition
authorTaehee Yoo <ap420073@gmail.com>
Thu, 2 Jun 2022 14:01:08 +0000 (14:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:45:05 +0000 (18:45 +0200)
commitebb545a57a0d88729e94e4cef941d93f2909e8bb
tree17f755e9557aef01e217e162000c6fcfad8d68d2
parent55bbdc2d41a8b32ef0ef63ffd0c291e56f804df6
amt: fix wrong type string definition

[ Upstream commit d7970039d87c926bb648982e920cb9851c19f3e1 ]

amt message type definition starts from 1, not 0.
But type_str[] starts from 0.
So, it prints wrong type information.

Fixes: cbc21dc1cfe9 ("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>
drivers/net/amt.c