linux-stable/arch/xtensa
Yang Yingliang 8214e30346 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:41:47 +02:00
..
boot xtensa: fix DTC warning unit_address_format 2022-03-17 02:55:47 -07:00
configs rcu: Fix undefined Kconfig macros 2021-09-13 16:32:46 -07:00
include xtensa: use fallback for random_get_entropy() instead of zero 2022-05-30 09:24:06 +02:00
kernel xtensa: Fix refcount leak bug in time.c 2022-06-29 09:04:40 +02:00
lib xtensa: add helpers for division, remainder and shifts 2022-03-09 14:02:40 -08:00
mm xtensa: define update_mmu_tlb function 2022-03-22 09:45:09 -07:00
platforms xtensa: iss: fix handling error cases in iss_net_configure() 2022-08-17 14:41:47 +02:00
variants
Kbuild
Kconfig dma-mapping updates for Linux 5.18 2022-03-29 08:50:14 -07:00
Kconfig.debug
Makefile xtensa: add kernel ABI selection to Kconfig 2022-03-09 14:16:35 -08:00