Re: [PATCH] test for NULL return from platform_get_resource() in ohci_hcd_sm501_drv_remove()

From: Magnus Damm
Date: Fri Mar 28 2008 - 04:48:37 EST


On Fri, Mar 28, 2008 at 4:27 AM, David Brownell <david-b@xxxxxxxxxxx> 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@xxxxxxxxx>
>
> Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
Acked-by: Magnus Damm <magnus.damm@xxxxxxxxx>
--
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/