]> git.baikalelectronics.ru Git - kernel.git/commit
amt: fix wrong return type of amt_send_membership_update()
authorTaehee Yoo <ap420073@gmail.com>
Sun, 9 Jan 2022 16:37:02 +0000 (16:37 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 10 Jan 2022 00:36:12 +0000 (16:36 -0800)
commit01dbb99c1f1dea796cafc7eb2a4ff9593881cd97
tree7b07b24f9a14ef261af912cb8200fd8535b71aa2
parentac450999161485b58c93e5cc3508b5eef52bc199
amt: fix wrong return type of amt_send_membership_update()

amt_send_membership_update() would return -1 but it's return type is bool.
So, it should be used TRUE instead of -1.

Fixes: 19284cc854b3 ("amt: add data plane of amt interface")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Link: https://lore.kernel.org/r/20220109163702.6331-1-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/amt.c