OSDN Git Service

soc: qcom: smem: verify partition header size
authorAlex Elder <elder@linaro.org>
Tue, 26 Jun 2018 00:58:52 +0000 (19:58 -0500)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 21:57:04 +0000 (16:57 -0500)
commit190b216c1535ca5af8db5c81e86d2192c4204b51
tree913a6dea89e0b239c9f6c3285456402a3adfff97
parentada79289735fea37e755bbefc4403c989e66f4b1
soc: qcom: smem: verify partition header size

Add verification in qcom_smem_partition_header() that the size in a
partition's header structure matches the size in its partition table
entry.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smem.c