Home
last modified time | relevance | path

Searched hist:"13 a920ae7898ffa075391ba36b63251f686d38a3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/qcom/
H A Dsmem.cdiff 13a920ae7898ffa075391ba36b63251f686d38a3 Mon Jun 25 19:58:56 CDT 2018 Alex Elder <elder@linaro.org> soc: qcom: smem: a few last cleanups

This patch contains several small cleanups:
- In qcom_smem_enumerate_partitions(), change the "local_host"
argument to have 16 bit unsigned type
- Also in qcom_smem_enumerate_partitions(), change the type of
the "host0" and "host1" local variables to be u16
- Fix error messages reporting host ids to use the right format
specifier
- Shorten the error messages as well, to fit on one line
- Add a compile-time check to ensure the local host value passed
to qcom_smem_enumerate_partitions() is in range

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>