lkml.org 
[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH] Max98095: Move existing NULL check before pointer dereference.
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.



\
 
 \ /
  Last update: 2011-05-18 03:47    [W:0.061 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site