Messages in this thread | | | Date | Wed, 18 May 2011 10:32:39 +0100 | From | Liam Girdwood <> | Subject | Re: [alsa-devel] [PATCH] Max98095: Move existing NULL check before pointer dereference. |
| |
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. >> >> BUG=none >> TEST=Visual inspection > > Mark, this patch looks good. > Thank you Taylor. >
Acked-by: Liam Girdwood <lrg@ti.com>
| |