diff options
author | 2015-12-20 12:15:51 +0100 | |
---|---|---|
committer | 2015-12-23 00:02:04 +0000 | |
commit | 18c94a043d6a466938f13761081a5cbee802dad1 (patch) | |
tree | 339f28bf000357a3745bd343dc308de39b09db7c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ASoC: imx-pcm-dma: add NULL test (diff) | |
download | wireguard-linux-18c94a043d6a466938f13761081a5cbee802dad1.tar.xz wireguard-linux-18c94a043d6a466938f13761081a5cbee802dad1.zip |
ASoC: omap-hdmi-audio: 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>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions