commit | 3f317c9faabc546a503bc62e806fa2e8e93e76be | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Dec 20 12:15:53 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Dec 23 00:02:17 2015 +0000 |
tree | c5d150fd6f3f3240a33da58468dc8d2b1f02b359 | |
parent | 18c94a043d6a466938f13761081a5cbee802dad1 [diff] |
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>