linux-kernelorg-stable/drivers/net/ipa
Alex Elder 1d23a56b02 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: 650d160382 ("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>
2021-02-04 18:55:54 -08:00
..
Kconfig
Makefile
gsi.c net: ipa: set error code in gsi_channel_setup() 2021-02-04 18:55:54 -08:00
gsi.h
gsi_private.h
gsi_reg.h net: ipa: adjust GSI register addresses 2020-11-28 12:13:55 -08:00
gsi_trans.c net: ipa: pass the correct size when freeing DMA memory 2020-12-04 14:38:44 -08:00
gsi_trans.h
ipa.h
ipa_clock.c net: ipa: fix interconnect enable bug 2020-12-23 11:35:48 -08:00
ipa_clock.h
ipa_cmd.c
ipa_cmd.h
ipa_data-sc7180.c
ipa_data-sdm845.c
ipa_data.h
ipa_endpoint.c net: ipa: use the right accessor in ipa_endpoint_status_skip() 2021-02-02 08:48:15 -08:00
ipa_endpoint.h
ipa_gsi.c
ipa_gsi.h
ipa_interrupt.c
ipa_interrupt.h
ipa_main.c net: ipa: fix build-time bug in ipa_hardware_config_qsb() 2020-12-02 17:11:21 -08:00
ipa_mem.c net: ipa: fix two format specifier errors 2021-02-02 08:48:15 -08:00
ipa_mem.h
ipa_modem.c net: ipa: modem: add missing SET_NETDEV_DEV() for proper sysfs links 2021-01-08 18:45:35 -08:00
ipa_modem.h
ipa_qmi.c net: ipa: convert comma to semicolon 2020-12-09 16:23:08 -08:00
ipa_qmi.h
ipa_qmi_msg.c
ipa_qmi_msg.h
ipa_reg.c
ipa_reg.h net: ipa: set up IPA v4.5 Qtime configuration 2020-12-01 18:05:28 -08:00
ipa_smp2p.c
ipa_smp2p.h
ipa_table.c
ipa_table.h
ipa_uc.c
ipa_uc.h
ipa_version.h net: ipa: update IPA registers for IPA v4.5 2020-11-28 12:13:54 -08:00