[PATCH] serial: 8250: 8250_core: Use dev_name() during request_irq()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Mar 8 04:34:17 PST 2017


On Wed, Mar 08, 2017 at 05:49:43PM +0530, Vignesh R wrote:
> Passing "serial" as name during request_irq() results in all serial port
> irqs have same name. This does not help much to easily identify which
> irq belongs to which serial port instance. Therefore pass dev_name()
> during request_irq() so that better identifiable name is listed for
> serial ports in cat /proc/interrupts output.
> 
> Output of cat /proc/interrupts
> Before this patch:
>  26:        689          0     GICv2 309 Edge      serial
> After this patch:
>  26:        696          0     GICv2 309 Edge      2530c00.serial
> 
> Signed-off-by: Vignesh R <vigneshr at ti.com>

I need a "full" name here, unless you really do sign legal documents
with just one letter as a last/sur-name?

thanks,

greg k-h



More information about the linux-arm-kernel mailing list