net: ipa: set error code in gsi_channel_setup()
stable inclusion from stable-5.10.17 commit 23b2eac8b76a13acec6d6e38d9f87bcaeda55a78 bugzilla: 48169 -------------------------------- [ Upstream commit 1d23a56b ] In gsi_channel_setup(), we check to see if the configuration data contains any information about channels that are not supported by the hardware. If one is found, we abort the setup process, but the error code (ret) is not set in this case. Fix this bug. Fixes: 650d1603 ("soc: qcom: ipa: the generic software interface") Reported-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Alex Elder <elder@linaro.org> Link: https://lore.kernel.org/r/20210204010655.15619-1-elder@linaro.org Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment