]> git.baikalelectronics.ru Git - kernel.git/commit
amt: fix wrong type string definition
authorTaehee Yoo <ap420073@gmail.com>
Thu, 2 Jun 2022 14:01:08 +0000 (14:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 6 Jun 2022 21:27:35 +0000 (14:27 -0700)
commit8ed7dbf2410f2edd8ca6b3ec210160aed3ba0ab5
tree7f4f084ef37087a3bd3b431a56fdaae044b364ad
parent0da0a53f6b6cbad5f69942e0d4e953216cdcd073
amt: fix wrong type string definition

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

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