RE: [PATCH] Max98095: Move existing NULL check before pointerdereference.

From: Peter Hsiang
Date: Tue May 17 2011 - 21:44:46 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at