Re: [PATCH] Max98095: Move existing NULL check before pointerdereference.
From: Mark Brown
Date: Wed May 18 2011 - 12:38:22 EST
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.
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/