Skip to content
Commit 628ccfc8 authored by Yang Yingliang's avatar Yang Yingliang Committed by Max Filippov
Browse files

xtensa: iss: fix handling error cases in iss_net_configure()

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: 7282bee7

 ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 8")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 8864fb83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment