lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: lp872x: Return -EINVAL if pdata is NULL
On Wed, Jun 20, 2012 at 04:13:15PM +0800, Axel Lin wrote:
> Return -EINVAL if pdata is NULL, otherwise we have NULL dereference bug.
> This patch also moves the code checking pdata earlier in lp872x_probe.

Applied, thanks. We should really not be insisting on pdata though.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-06-20 13:01    [W:0.032 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site