aboutsummaryrefslogtreecommitdiff
path: root/net/x25/x25_dev.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2008-07-04 20:05:29 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-24 09:14:06 -0700
commit81c5896b8f697f5135153055e15cf52da375095a (patch)
tree8095fa33e17ffcdcd7ef0bdf8c09097f904bb592 /net/x25/x25_dev.c
parentaeb36f4e43e8af7677a5f72be48e4751cf9e6eb2 (diff)
serial: fix serial_match_port() for dynamic major tty-device numbers
commit 7ca796f492a11f9408e661c8f22cd8c4f486b8e5 upstream As reported by Vipul Gandhi, the current serial_match_port() doesn't work for tty-devices using dynamic major number allocation. Fix it. It oopses if you suspend a serial port with _dynamic_ major number. ATM, I think, there's only the drivers/serial/jsm/jsm_driver.c driver, that does it in-tree. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Tested-by: Vipul Gandhi <vcgandhi1@aol.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/x25/x25_dev.c')
0 files changed, 0 insertions, 0 deletions