[alsa-devel] [PATCH] Max98095: Move existing NULL check before pointer dereference.

Mark Brown broonie at opensource.wolfsonmicro.com
Wed May 18 18:38:19 CEST 2011


On Tue, May 17, 2011 at 06:03:54PM -0700, 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.

Applied, thanks.  Please try to keep your subject line consistent with
the rest of the subsystem.


More information about the Alsa-devel mailing list