soc: qcom: smem: a few last cleanups
authorAlex Elder <elder@linaro.org>
Tue, 26 Jun 2018 00:58:56 +0000 (19:58 -0500)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 21:57:11 +0000 (16:57 -0500)
commit13a920ae7898ffa075391ba36b63251f686d38a3
tree2144c7661e3ace4b315f0c2d6f28c9ce532694db
parent7d01934455e3f5efc0019befe1b78ebe60dd7b0c
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>
drivers/soc/qcom/smem.c