Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2

From: Yinghai Lu
Date: Mon Aug 04 2008 - 14:19:04 EST


On Mon, Aug 4, 2008 at 7:17 AM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>> Would allow us to use the generic hash table code.
>
> Nice.. that makes the code a bit longer in source form but much clearer
> and sharing common design.
>
>> Looks like we can also tweak serial_do_unlink to free irq_info when
>> the list goes empty, so we don't have a leak if the driver is ever
>> unloaded.
>
> Like this (again not yet tested)
>
> 8250: Remove NR_IRQ usage
>
> From: Alan Cox <alan@xxxxxxxxxx>
>
>
> ---
>
> drivers/serial/68328serial.c | 11 +------
> drivers/serial/8250.c | 68 +++++++++++++++++++++++++++++++++---------
> 2 files changed, 56 insertions(+), 23 deletions(-)
>

thanks. will test it.

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