diff options
author | Alex Elder <elder@linaro.org> | 2021-02-03 19:06:55 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-04 18:55:54 -0800 |
commit | 1d23a56b0296d29e7047b41fe0a42a001036160d (patch) | |
tree | d048bdfbb70ec2a28c43da8f342550d9b9cf4e2b /lib | |
parent | 81b8be68ef8e8915d0cc6cedd2ac425c74a24813 (diff) | |
download | linux-1d23a56b0296d29e7047b41fe0a42a001036160d.tar.bz2 |
net: ipa: set error code in gsi_channel_setup()
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: 650d1603825d8 ("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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions