2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/drivers/remoteproc
Wei Yongjun ca0e89406b remoteproc: qcom: wcss: Fix wrong pointer passed to PTR_ERR()
PTR_ERR should access the value just tested by IS_ERR, otherwise
the wrong error code will be returned.

This commit fix it by return 'ret' directly.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 0af65b9b91 ("remoteproc: qcom: wcss: Add non pas wcss Q6 support for QCS404")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210326024741.841267-1-weiyongjun1@huawei.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-04-13 21:10:32 -05:00
..
da8xx_remoteproc.c remoteproc: Remove dev_err() usage after platform_get_irq() 2019-08-26 21:59:58 -07:00
imx_rproc.c remoteproc: imx_rproc: fix return value check in imx_rproc_addr_init() 2021-03-12 18:07:19 -06:00
ingenic_rproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
Kconfig remoteproc: imx_rproc: support i.MX8MQ/M 2021-03-11 12:02:44 -06:00
keystone_remoteproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
Makefile remoteproc: pru: Add a PRU remoteproc driver 2020-12-10 10:55:55 -06:00
mtk_common.h remoteproc/mediatek: support L1TCM 2021-02-09 09:08:47 -06:00
mtk_scp_ipi.c remoteproc/mediatek: Add support for mt8192 SCP 2020-09-25 23:37:42 -05:00
mtk_scp.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
omap_remoteproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
omap_remoteproc.h remoteproc/omap: Switch to SPDX license identifiers 2020-03-25 22:29:51 -07:00
pru_rproc.c remoteproc: pru: Fix and cleanup firmware interrupt mapping logic 2021-04-13 15:43:38 -05:00
pru_rproc.h remoteproc: pru: Add support for PRU specific interrupt configuration 2020-12-10 10:56:01 -06:00
qcom_common.c remoteproc: qcom: Add capability to collect minidumps 2020-12-10 13:16:54 -06:00
qcom_common.h remoteproc: qcom: Add capability to collect minidumps 2020-12-10 13:16:54 -06:00
qcom_pil_info.c remoteproc: qcom: pil-info: Fix shift overflow 2020-07-16 21:30:35 -07:00
qcom_pil_info.h remoteproc: qcom: Introduce helper to store pil info in IMEM 2020-07-01 22:10:18 -07:00
qcom_q6v5_adsp.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
qcom_q6v5_mss.c remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader 2021-03-18 07:54:44 -05:00
qcom_q6v5_pas.c remoteproc: qcom: pas: Add modem support for SDX55 2021-04-13 21:10:32 -05:00
qcom_q6v5_wcss.c remoteproc: qcom: wcss: Fix wrong pointer passed to PTR_ERR() 2021-04-13 21:10:32 -05:00
qcom_q6v5.c remoteproc: qcom: q6v5: Query sysmon before graceful shutdown 2020-11-25 23:05:24 -06:00
qcom_q6v5.h remoteproc: qcom: q6v5: Query sysmon before graceful shutdown 2020-11-25 23:05:24 -06:00
qcom_sysmon.c remoteproc: sysmon: fix shutdown_acked state 2020-12-04 16:40:52 -06:00
qcom_wcnss_iris.c remoteproc: qcom_wcnss: Add qcom,wcn3660b compatible 2021-01-07 11:08:35 -06:00
qcom_wcnss.c remoteproc: qcom: wcnss: Allow specifying firmware-name 2021-03-18 09:44:18 -05:00
qcom_wcnss.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
remoteproc_cdev.c remoteproc: Refactor function rproc_cdev_release() 2021-03-18 08:02:10 -05:00
remoteproc_core.c remoteproc: Properly deal with a stop request when attached 2021-03-18 08:02:09 -05:00
remoteproc_coredump.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
remoteproc_debugfs.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
remoteproc_elf_helpers.h remoteproc: coredump: Add minidump functionality 2020-12-10 13:14:37 -06:00
remoteproc_elf_loader.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
remoteproc_internal.h remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2021-03-18 07:54:53 -05:00
remoteproc_sysfs.c remoteproc: Properly deal with a detach request when attached 2021-03-18 08:02:10 -05:00
remoteproc_virtio.c dma-mapping: split <linux/dma-mapping.h> 2020-10-06 07:07:03 +02:00
st_remoteproc.c remoteproc: remove rproc_elf32_sanity_check 2020-04-22 21:57:26 -07:00
st_slim_rproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
stm32_rproc.c remoteproc: stm32: Move memory parsing to rproc_ops 2021-03-18 07:55:46 -05:00
ti_k3_dsp_remoteproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
ti_k3_r5_remoteproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00
ti_sci_proc.h remoteproc: k3: Add TI-SCI processor control helper functions 2020-07-28 17:06:43 -07:00
wkup_m3_rproc.c remoteproc: add is_iomem to da_to_va 2021-03-11 12:02:41 -06:00