Re: [PATCH 2.5.41] trap in __release_resource

From: Russell King (rmk@arm.linux.org.uk)
Date: Wed Oct 09 2002 - 12:54:05 EST


On Wed, Oct 09, 2002 at 12:19:11PM -0500, David Kleikamp wrote:
> I was getting a NULL pointer dereference in __release_resource when I tried
> to boot 2.5.41. I traced it down to your recent patch to 8250.c. Since
> the call to serial8250_request_std_resource() is now conditional, the call
> to release_resource() needs to be conditional as well. This patch fixes
> the problem. It looks obviously correct to me, but I don't know this code
> at all.

Oddly, I've also sent this patch out in the last couple of days. 8)
Its correct.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:32 EST