Skip to content

Commit

Permalink
[PATCH] serial: mpsc driver passes bad devname to request_irq()
Browse files Browse the repository at this point in the history
The devname passed to request_irq() contained a '/' which is wrong.  At
a minimum, the '/' prevented the devname from showing up in
/proc/irq/<irq>/<devname>.  This patch replaces the '/' with a '-' to
fixes that problem.

Reported-by: Stephane Chazelas <[email protected]>
Signed-off-by: Mark A. Greer <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Mark A. Greer authored and Linus Torvalds committed Mar 25, 2006
1 parent 37f1e98 commit a30ff2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/mpsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a30ff2e

Please sign in to comment.