Re: [alsa-devel] [PATCH] Max98095: Move existing NULL check beforepointer dereference.
From: Liam Girdwood
Date: Wed May 18 2011 - 05:32:59 EST
On 18/05/11 02:28, Peter Hsiang wrote:
> On Tue, May 17, 2011, Taylor Hutt wrote:
>> Visual inspection shows that max98095_put_eq_enum() and
>> max98095_put_bq_enum() each have a possible NULL deref of 'pdata'.
>> This change moves the NULL check above the use.
>> TEST=Visual inspection
> Mark, this patch looks good.
> Thank you Taylor.
Acked-by: Liam Girdwood <lrg@xxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/