linux-stable/arch/xtensa/platforms
Yang Yingliang 7689427e23 xtensa: iss: fix handling error cases in iss_net_configure()
[ Upstream commit 628ccfc8f5 ]

The 'pdev' and 'netdev' need to be released in error cases of
iss_net_configure().

Change the return type of iss_net_configure() to void, because it's
not used.

Fixes: 7282bee787 ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 8")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:23:52 +02:00
..
iss xtensa: iss: fix handling error cases in iss_net_configure() 2022-08-17 14:23:52 +02:00
xt2000 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
xtfpga xtensa: xtfpga: Fix refcount leak bug in setup 2022-06-29 09:03:29 +02:00
Makefile xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild 2021-08-11 11:37:13 -07:00