1
0
Fork 0
alistair23-linux/sound/soc/intel/baytrail
Julia Lawall 3f317c9faa ASoC: Intel: add NULL test
Add NULL test on call to devm_kzalloc.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x;
identifier fld;
@@

* x = devm_kzalloc(...);
  ... when != x == NULL
  x->fld
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-12-23 00:02:17 +00:00
..
Makefile ASoC: Intel: create baytrail folder and move baytrail platform files in 2015-04-06 17:49:45 +01:00
sst-baytrail-dsp.c ASoC: Intel: create baytrail folder and move baytrail platform files in 2015-04-06 17:49:45 +01:00
sst-baytrail-ipc.c ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue 2015-07-29 14:55:16 +01:00
sst-baytrail-ipc.h ASoC: Intel: create baytrail folder and move baytrail platform files in 2015-04-06 17:49:45 +01:00
sst-baytrail-pcm.c ASoC: Intel: add NULL test 2015-12-23 00:02:17 +00:00