Re: [patch] ASoC: hdac_hdmi: Potential NULL deref in hdac_hdmi_get_spk_alloc()

From: Vinod Koul
Date: Tue May 03 2016 - 12:00:49 EST


On Tue, May 03, 2016 at 03:26:39PM +0530, Vinod Koul wrote:
> On Tue, May 03, 2016 at 10:42:58AM +0300, Dan Carpenter wrote:
> > We intended || here instead of &&. The original code potentially leads
> > to a NULL dereference.
>
> This looks good to me, I will test this and get back

Acked-by: Vinod Koul <vinod.koul@xxxxxxxxx>
Tested-by: Sachin Mokashi <sachinx.mokashi@xxxxxxxxx>

--
~Vinod