2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-10 22:54:11 +08:00
linux-next/drivers/soc/qcom
Stephen Boyd ed3cafa79e soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data()
Let's change the function signature to return the pointer to memory or
an error pointer on failure, and take an argument that lets us return
the size of the aux data read. This way we can remove the
cmd_db_read_aux_data_len() API entirely and also get rid of the memcpy
operation from cmd_db to the caller. Updating the only user of this code
shows that making this change allows us to remove a function and put the
lookup where the user is.

Cc: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Cc: Lina Iyer <ilina@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Evan Green <evgreen@chromium.org>
Cc: Jordan Crouse <jcrouse@codeaurora.org>
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-11-14 10:06:24 -08:00
..
apr.c ARM: SoC driver updates for 4.17 2018-10-29 15:16:01 -07:00
cmd-db.c soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data() 2018-11-14 10:06:24 -08:00
glink_ssr.c soc: qcom: GLINK SSR notifier 2017-08-02 12:43:29 -07:00
Kconfig soc: qcom: Drop help text for QCOM_QMI_HELPERS 2018-11-14 10:03:36 -08:00
llcc-sdm845.c drivers: soc: Add LLCC driver 2018-07-21 13:31:35 -05:00
llcc-slice.c soc: qcom: llcc-slice: Add error checks for API functions 2018-11-14 09:59:03 -08:00
Makefile drivers: qcom: rpmh: add RPMH helper functions 2018-07-21 13:32:40 -05:00
mdt_loader.c remoteproc: qcom: mdt_loader: Make the firmware authentication optional 2018-06-18 15:55:31 -07:00
qcom_gsbi.c soc: qcom: gsbi: Add support for ADM CRCI muxing 2015-03-11 15:18:39 -05:00
qcom-geni-se.c soc: qcom: Add irq clear handling during SE init 2018-11-14 09:51:50 -08:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: qmi_interface: Limit txn ids to U16_MAX 2018-11-14 10:02:07 -08:00
rmtfs_mem.c soc: qcom: rmtfs-mem: Validate that scm is available 2018-09-13 16:11:39 -05: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-rsc: clear wait_for_compl after use 2018-09-13 16:11:39 -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: a few last cleanups 2018-09-13 16:57:11 -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 soc: qcom: spm: add SCM probe dependency 2018-09-13 16:11:38 -05: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: Avoid string overflow 2018-09-13 16:11:36 -05:00