]> git.baikalelectronics.ru Git - kernel.git/commit
soc: imx: imx-scu: Getting UID from SCU should have response
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 4 Sep 2019 19:13:14 +0000 (15:13 -0400)
committerShawn Guo <shawnguo@kernel.org>
Sun, 6 Oct 2019 01:21:38 +0000 (09:21 +0800)
commite753b4952968d51590f2e095e267c554339b8cd6
tree14067feb75c9c03f768cc1e8fd4d28feaacf9cb3
parent83b4b06b7408ce798a220098fbeac6cb0a1db352
soc: imx: imx-scu: Getting UID from SCU should have response

The SCU firmware API for getting UID should have response,
otherwise, the message stored in function stack could be
released and then the response data received from SCU will be
stored into that released stack and cause kernel NULL pointer
dump.

Fixes: b61926341025 ("soc: imx-scu: Add SoC UID(unique identifier) support")
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx-scu.c