diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-12-20 14:15:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-23 03:01:53 +0300 |
commit | 10974ccf04b096fd79ad90fd50276b79c069f2cc (patch) | |
tree | 2dba369d476b6ef523bfb18a6fdcf4bdf5053006 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | linux-10974ccf04b096fd79ad90fd50276b79c069f2cc.tar.xz |
ASoC: imx-pcm-dma: 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;
@@
* x = devm_kzalloc(...);
... when != x == NULL
*x
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions