Re: [PATCH] release_resource() check for NULL resource

From: Randy.Dunlap
Date: Mon Oct 03 2005 - 22:28:50 EST


On Mon, 3 Oct 2005 23:59:16 -0300 Diego de Estrada wrote:

> On 10/2/05, Randy.Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> > On Sun, 2 Oct 2005 18:03:18 +0100 Ben Dooks wrote:
> >
> > > If release_resource() is passed a NULL resource
> > > the kernel will OOPS.
> >
> > does this actually happen? you are fixing a real oops?
> > if so, what driver caused it?
>
> The point is: no driver should make the kernel OOPS. Thanks Ben.

I understand that sentiment, but if a driver is bad,
we generally want to know about that rather than paste
(or paper) over it on a continuous basis.


---
~Randy
You can't do anything without having to do something else first.
-- Belefant's Law
-
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/