Re: Serial.c Bug

Russell King (rmk@arm.linux.org.uk)
Wed, 14 Nov 2001 23:59:08 +0000


On Wed, Nov 14, 2001 at 01:02:47PM +0300, Roman Kurakin wrote:
> I have found a bug. It is in support of serial cards which uses
> memory for I/O insted of ports. I made a patch for serial.c and fix
> one place, but probably the problem like this one could be somewhere
> else.

I've got this fish caught in the my serial driver rewrite - the driver
always handles the requesting and freeing of the resources. If it is
unable to request the resources, then you will receive a suitable error
when trying to configure two ports.

Please note that I'm not about to take on maintainence of the current
serial.c driver, except where I spot obvious bugs.

I'd recommend that you pass this one to Marcelo to incorporate (only
after he's got his feet on the ground again. 8)) It looks sensible.

--
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/