projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6849cae
)
MLK-11915-03 ASoC: imx-sii902x: init sii902x_np to avoid wild pointer
author
Zidan Wang
<zidan.wang@freescale.com>
Fri, 27 Nov 2015 03:10:53 +0000
(11:10 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:18 +0000
(14:49 -0500)
init sii902x_np to avoid wild pointer. Reported by Coverity.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
780e27683c38f785ea7f7e07e83b00ffd3c22d78
)
sound/soc/fsl/imx-sii902x.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/imx-sii902x.c
b/sound/soc/fsl/imx-sii902x.c
index
72c407d
..
7cd19fa
100644
(file)
--- a/
sound/soc/fsl/imx-sii902x.c
+++ b/
sound/soc/fsl/imx-sii902x.c
@@
-172,7
+172,7
@@
static struct snd_soc_ops imx_sii902x_ops = {
static int imx_sii902x_probe(struct platform_device *pdev)
{
- struct device_node *cpu_np, *sii902x_np;
+ struct device_node *cpu_np, *sii902x_np
= NULL
;
struct platform_device *cpu_pdev;
struct imx_sii902x_data *data;
int ret;