linux/drivers/soc/qcom
Stephen Boyd 84fa36eb30 soc: qcom: cmd-db: Remove memcpy()ing from cmd_db_get_header()
The cmd_db_get_header() function is a static local function that doesn't
need to copy anything from one place to another. Instead, it can just
point into the region by returning pointers to what we're looking for.
If we do that, we should mark what we're returning as const so that code
can't modify cmd-db without an obvious cast.

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>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-11-14 10:05:50 -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: Remove memcpy()ing from cmd_db_get_header() 2018-11-14 10:05:50 -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
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