summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJulia Lawall2015-12-20 12:15:53 +0100
committerMark Brown2015-12-23 01:02:17 +0100
commit3f317c9faabc546a503bc62e806fa2e8e93e76be (patch)
treec5d150fd6f3f3240a33da58468dc8d2b1f02b359 /include/sound
parentASoC: omap-hdmi-audio: add NULL test (diff)
downloadkernel-qcow2-linux-3f317c9faabc546a503bc62e806fa2e8e93e76be.tar.gz
kernel-qcow2-linux-3f317c9faabc546a503bc62e806fa2e8e93e76be.tar.xz
kernel-qcow2-linux-3f317c9faabc546a503bc62e806fa2e8e93e76be.zip
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>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions