diff options
author | Alex Elder <elder@linaro.org> | 2018-06-25 19:58:56 -0500 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-09-13 16:57:11 -0500 |
commit | 13a920ae7898ffa075391ba36b63251f686d38a3 (patch) | |
tree | 2144c7661e3ace4b315f0c2d6f28c9ce532694db /drivers/acpi/pmic | |
parent | 7d01934455e3f5efc0019befe1b78ebe60dd7b0c (diff) |
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>
Diffstat (limited to 'drivers/acpi/pmic')
0 files changed, 0 insertions, 0 deletions