linux/drivers/soc/qcom
Raju P.L.S.S.S.N 6c805adf17 drivers: qcom: rpmh: fix unwanted error check for get_tcs_of_type()
The patch fixes the bug reported by Dan Carpenter.
It removes the unnecessary err check for ‘tcs’ reported by
static checker warning:

drivers/soc/qcom/rpmh-rsc.c:111 tcs_invalidate()
warn: 'tcs' isn't an ERR_PTR
See also:
drivers/soc/qcom/rpmh-rsc.c:178 get_tcs_for_msg() warn: 'tcs' isn't
an ERR_PTR
drivers/soc/qcom/rpmh-rsc.c:180 get_tcs_for_msg() warn: 'tcs' isn't
an ERR_PTR

https://www.spinics.net/lists/linux-soc/msg04624.html

Fixes: 9a3afcf ("drivers: qcom: rpmh-rsc: allow invalidation
of sleep/wake TCS")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Reviewed-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-07-21 13:47:22 -05:00
..
apr.c soc: qcom: apr: fix invalid msg_type check 2018-05-17 18:11:23 +01:00
cmd-db.c soc: qcom: cmd-db: Make endian-agnostic 2018-05-25 15:53:52 -05:00
glink_ssr.c soc: qcom: GLINK SSR notifier 2017-08-02 12:43:29 -07:00
Kconfig drivers: qcom: rpmh-rsc: add RPMH controller for QCOM SoCs 2018-07-21 13:32:06 -05:00
llcc-sdm845.c drivers: soc: Add LLCC driver 2018-07-21 13:31:35 -05:00
llcc-slice.c drivers: soc: Add LLCC driver 2018-07-21 13:31:35 -05:00
Makefile drivers: qcom: rpmh: add RPMH helper functions 2018-07-21 13:32:40 -05:00
mdt_loader.c treewide: use PHYS_ADDR_MAX to avoid type casting ULLONG_MAX 2018-06-15 07:55:25 +09:00
qcom_gsbi.c
qcom-geni-se.c soc: qcom: Add GENI based QUP Wrapper driver 2018-04-25 00:12:05 -05:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: qmi: fix a buffer sizing bug 2018-05-25 15:53:58 -05:00
rmtfs_mem.c soc: qcom: rmtfs-mem: Add support for assigning memory to remote 2018-03-08 18:40:24 -06:00
rpmh-internal.h drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
rpmh-rsc.c drivers: qcom: rpmh: fix unwanted error check for get_tcs_of_type() 2018-07-21 13:47:22 -05:00
rpmh.c drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
smd-rpm.c soc: qcom: smd-rpm: Add msm8998 compatible 2018-04-25 00:11:28 -05:00
smem_state.c soc: qcom: Update properties for smem state referencing 2016-06-24 22:53:41 -05:00
smem.c soc: qcom: smem: Correct check for global partition 2018-07-21 13:31:13 -05:00
smp2p.c soc: qcom: smp2p: Use common error handling code in qcom_smp2p_probe() 2018-01-01 00:29:09 -06:00
smsm.c soc: qcom: smsm: fix child-node lookup 2017-12-20 15:38:34 -06:00
spm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-05-17 16:26:30 -07:00
trace-rpmh.h drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE 2018-07-21 13:32:31 -05:00
wcnss_ctrl.c soc: qcom: wcnss_ctrl: Fix increment in NV upload 2018-03-08 18:40:35 -06:00