]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8a3302a2b5d1d1cdc0cdb23d480f0306383f4b1
tree913a6dea89e0b239c9f6c3285456402a3adfff97
parent07e2c8f68364212f69380f458a5599e11adcfaab
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