summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/smem.c
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2018-04-19 21:29:24 +0300
committerAndy Gross <andy.gross@linaro.org>2018-05-25 23:53:52 +0300
commit36b0aefdee6e203f3130d7444bf5103139ecbe25 (patch)
tree324a316f2e0e4d11ae7f35bf11ccf74ebccce3e3 /drivers/soc/qcom/smem.c
parent312416d9171a1460b7ed8d182b5b540c910ce80d (diff)
downloadlinux-36b0aefdee6e203f3130d7444bf5103139ecbe25.tar.xz
soc: qcom: cmd-db: Make endian-agnostic
This driver deals with memory that is stored in little-endian format. Update the structures with the proper little-endian types and then do the proper conversions when reading the fields. Note that we compare the ids with a memcmp() because we already pad out the string 'id' field to exactly 8 bytes with the strncpy() onto the stack. 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>
Diffstat (limited to 'drivers/soc/qcom/smem.c')
0 files changed, 0 insertions, 0 deletions