From: Mark A. Greer Date: Sat, 25 Mar 2006 11:08:26 +0000 (-0800) Subject: [PATCH] serial: mpsc driver passes bad devname to request_irq() X-Git-Tag: v2.6.17-rc1~745 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30ff2e348af9d3a1782103130c88960550a773f;p=linux-2.6 [PATCH] serial: mpsc driver passes bad devname to request_irq() The devname passed to request_irq() contained a '/' which is wrong. At a minimum, the '/' prevented the devname from showing up in /proc/irq//. This patch replaces the '/' with a '-' to fixes that problem. Reported-by: Stephane Chazelas Signed-off-by: Mark A. Greer Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/mpsc.c b/drivers/serial/mpsc.c index 0ca83ac31d..ba30e2363c 100644 --- a/drivers/serial/mpsc.c +++ b/drivers/serial/mpsc.c @@ -1165,7 +1165,7 @@ mpsc_startup(struct uart_port *port) flag = SA_SHIRQ; if (request_irq(pi->port.irq, mpsc_sdma_intr, flag, - "mpsc/sdma", pi)) + "mpsc-sdma", pi)) printk(KERN_ERR "MPSC: Can't get SDMA IRQ %d\n", pi->port.irq);