Tag: 18c94a043d6a466938f13761081a5cbee802dad1

ASoC: omap-hdmi-audio: 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 Acked-by: Peter Ujfalusi Signed-off-by: Mark Brown — sound/soc/omap/omap-hdmi-audio.c | 2 ++ …

Continue reading