OSDN Git Service

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)
commit30ca9b04747ea865cbb5a7d05e10ef0a3761bf19
tree14067feb75c9c03f768cc1e8fd4d28feaacf9cb3
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
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: 73feb4d0f8f1 ("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