Tag: 3f317c9faabc546a503bc62e806fa2e8e93e76be

ASoC: Intel: add NULL test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Add NULL test on call to devm_kzalloc. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; identifier fld; @@ * x = devm_kzalloc(…); … when != x == NULL x->fld // Signed-off-by: Julia Lawall Signed-off-by: Mark Brown — sound/soc/intel/baytrail/sst-baytrail-pcm.c | 2 ++ 1 file changed, …

Continue reading