On Mon, 2011-02-07 at 22:01 +0300, Dan Carpenter wrote: > The patch c358e640a66 "ASoC: soc-cache: Add trace event for > snd_soc_cache_sync()" introduced a dereference of "codec->cache_ops" > before we had checked it for NULL. > > I pulled the check forward, and then pulled everything in an indent > level. > > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx> -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html