lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] test for NULL return from platform_get_resource() in ohci_hcd_sm501_drv_remove()
On Fri, Mar 28, 2008 at 4:27 AM, David Brownell <david-b@pacbell.net> wrote:
> On Friday 21 March 2008, Jesper Juhl wrote:
> >
> > platform_get_resource() may return null, so although it seems it will never
> > do so here unless there's a bug elsewhere, it does no harm to be defensive
> > and test.
> >
> > Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
>
> Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Magnus Damm <magnus.damm@gmail.com>


\
 
 \ /
  Last update: 2008-03-28 09:51    [W:0.055 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site